8 lines
No EOL
250 B
SQL
8 lines
No EOL
250 B
SQL
CREATE TABLE tasks (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
description VARCHAR NOT NULL,
|
|
completed BOOLEAN NOT NULL DEFAULT 0
|
|
);
|
|
|
|
INSERT INTO tasks (description) VALUES ("demo task");
|
|
INSERT INTO tasks (description) VALUES ("demo task2"); |