1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
examples/todo/migrations/2018-07-05-163612_create_tasks_table/up.sql

6 lines
122 B
MySQL
Raw Normal View History

2018-08-27 11:56:26 +02:00
CREATE TABLE tasks (
id SERIAL PRIMARY KEY,
description VARCHAR NOT NULL,
completed BOOLEAN NOT NULL DEFAULT 'f'
);