mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 23:35:20 +00:00

Differences to Postgres version: - Minor changes to schema - Add TODO: "RETURNING" isn't supported, so retrieve ID separately
6 lines
158 B
SQL
6 lines
158 B
SQL
CREATE TABLE IF NOT EXISTS todos (
|
|
id INTEGER PRIMARY KEY NOT NULL,
|
|
description TEXT NOT NULL,
|
|
done BOOLEAN NOT NULL DEFAULT 0
|
|
);
|