|
CREATE TABLE no_ids (
|
|
payload BLOB NOT NULL
|
|
) WITHOUT ROWID;
|
|
|
|
CREATE TABLE with_defaults (
|
|
a TEXT DEFAULT 'something',
|
|
b INT UNIQUE
|
|
)
|
|
|
|
CREATE TABLE with_constraints (
|
|
a TEXT,
|
|
b INT NOT NULL,
|
|
c FLOAT(10, 2),
|
|
|
|
FOREIGN KEY (a, b) REFERENCES with_defaults (a, b)
|
|
) |