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

6 lines
111 B
SQL

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