1
0
mirror of https://github.com/actix/examples synced 2024-12-18 00:13:57 +01:00
examples/todo/migrations/2018-07-05-163612_create_tasks_table/up.sql
2019-12-07 23:59:24 +06:00

6 lines
122 B
SQL

CREATE TABLE tasks (
id SERIAL PRIMARY KEY,
description VARCHAR NOT NULL,
completed BOOLEAN NOT NULL DEFAULT 'f'
);