1
0
mirror of https://github.com/actix/examples synced 2024-11-28 16:32:39 +01:00
examples/actix_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'
);