1
0
mirror of https://github.com/actix/examples synced 2024-11-28 00:12:57 +01:00
examples/basics/todo/migrations/2018-07-05-163612_create_tasks_table/up.sql
2021-02-26 00:57:58 +00:00

6 lines
122 B
SQL

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