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

6 lines
140 B
MySQL
Raw Normal View History

CREATE TABLE tasks (
2017-05-26 23:44:53 +00:00
id INTEGER PRIMARY KEY AUTOINCREMENT,
description VARCHAR NOT NULL,
completed BOOLEAN NOT NULL DEFAULT 0
)