mirror of
https://github.com/actix/examples
synced 2025-08-31 02:00:21 +02:00
use sqlite in basics/todo
This commit is contained in:
@@ -1 +1 @@
|
||||
DROP TABLE tasks
|
||||
DROP TABLE tasks;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
CREATE TABLE tasks (
|
||||
id SERIAL PRIMARY KEY,
|
||||
id INTEGER PRIMARY KEY,
|
||||
description VARCHAR NOT NULL,
|
||||
completed BOOLEAN NOT NULL DEFAULT 'f'
|
||||
);
|
||||
|
Reference in New Issue
Block a user