Files
mach_examples/07_todo_db_per_user/create_todos_table.sql
2026-03-26 16:35:06 -05:00

6 lines
143 B
SQL

CREATE TABLE IF NOT EXISTS todos (
id INTEGER PRIMARY KEY AUTOINCREMENT,
title TEXT NOT NULL,
finished INTEGER CHECK(finished IN (1))
);