Rocket/examples/todo/migrations/20160720150332_create_tasks.../up.sql

6 lines
140 B
SQL

CREATE TABLE tasks (
id INTEGER PRIMARY KEY AUTOINCREMENT,
description VARCHAR NOT NULL,
completed BOOLEAN NOT NULL DEFAULT 0
)