1
0
mirror of https://github.com/actix/examples synced 2024-11-28 00:12:57 +01:00
examples/database_interactions/sqlx_todo/schema.sql
2021-03-03 23:37:17 +09:00

6 lines
162 B
SQL

CREATE TABLE IF NOT EXISTS todos (
id INTEGER PRIMARY KEY NOT NULL,
description TEXT NOT NULL,
done BOOLEAN NOT NULL DEFAULT FALSE
);