Added SQLite support and updated the Handbook. (0.32.0)
This commit is contained in:
parent
3411a4d846
commit
9416ec3457
17 changed files with 631 additions and 388 deletions
12
examples/data/todo.sql
Normal file
12
examples/data/todo.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
PRAGMA foreign_keys = ON;
|
||||
DROP TABLE IF EXISTS tasks;
|
||||
CREATE TABLE tasks (
|
||||
id INTEGER PRIMARY KEY,
|
||||
title TEXT NOT NULL,
|
||||
done INTEGER NOT NULL DEFAULT 0,
|
||||
created_at TEXT NOT NULL DEFAULT (datetime('now'))
|
||||
);
|
||||
INSERT INTO tasks (title, done) VALUES
|
||||
('Write Fun + SQLite example', 1),
|
||||
('Ship optional feature flag', 0),
|
||||
('Celebrate with coffee', 0);
|
||||
Loading…
Add table
Add a link
Reference in a new issue