8 lines
250 B
MySQL
8 lines
250 B
MySQL
|
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");
|