1
0
mirror of https://github.com/actix/examples synced 2024-11-25 07:12:42 +01:00
examples/basics/todo/migrations/20220205163207_create_tasks_table.up.sql

6 lines
123 B
MySQL
Raw Normal View History

2018-08-27 11:56:26 +02:00
CREATE TABLE tasks (
2022-02-06 08:55:51 +01:00
id INTEGER PRIMARY KEY,
2018-08-27 11:56:26 +02:00
description VARCHAR NOT NULL,
completed BOOLEAN NOT NULL DEFAULT 'f'
);