1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
examples/basics/todo/migrations/20220205163207_create_tasks_table.up.sql

6 lines
123 B
MySQL
Raw Permalink 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'
);