0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 20:20:20 +00:00
ad hoc ad79ef48a2
libsql wal tests (#1408)
* add tests

* add bench
2024-05-24 13:59:17 +00:00

16 lines
445 B
Plaintext

CREATE TABLE t1(a UNIQUE);
CREATE TABLE t2(a NOT NULL UNIQUE);
CREATE TABLE t3(a UNIQUE NOT NULL);
CREATE TABLE t4(a NOT NULL);
CREATE UNIQUE INDEX t4a ON t4(a);
CREATE TABLE t5(a PRIMARY KEY);
CREATE TABLE t6(a PRIMARY KEY NOT NULL);
CREATE TABLE t7(a NOT NULL PRIMARY KEY);
CREATE TABLE t8(a PRIMARY KEY) WITHOUT ROWID;
CREATE TABLE t9(a PRIMARY KEY UNIQUE NOT NULL);
CREATE TABLE t10(a UNIQUE PRIMARY KEY NOT NULL);