1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/basics/todo/migrations/20220205163207_create_tasks_table.up.sql
2022-02-05 18:08:46 +00:00

6 lines
122 B
SQL

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