Skip to content

Commit dbe7e01

Browse files
committed
added SQLout - forgot to add in last commit
1 parent 8396853 commit dbe7e01

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

unit_tests.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,17 @@ CREATE TABLE `scimag` (
137137
PRIMARY KEY (`ID`) USING BTREE,
138138
UNIQUE KEY `DOIUNIQUE` (`DOI`) USING BTREE,
139139
);
140-
SQL
140+
SQLin
141+
142+
cat <<\SQLout
143+
PRAGMA synchronous = OFF;
144+
PRAGMA journal_mode = MEMORY;
145+
BEGIN TRANSACTION;
146+
CREATE TABLE `scimag` (
147+
`ID` integer NOT NULL PRIMARY KEY AUTOINCREMENT
148+
, `DOI` varchar(200) NOT NULL
149+
, `TEXTFIELD` text DEFAULT ('text_value')
150+
, UNIQUE (`DOI`)
151+
);
152+
END TRANSACTION;
153+
SQLout

0 commit comments

Comments
 (0)