1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/basics/todo/migrations/20220205163207_create_tasks_table.up.sql
2022-02-06 07:55:51 +00:00

6 lines
123 B
SQL

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