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

6 lines
122 B
SQL

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