Files
mach_examples/07_todo_db_per_user/create_todos_table.sql

6 lines
143 B
MySQL
Raw Normal View History

2025-07-24 12:46:01 -05:00
CREATE TABLE IF NOT EXISTS todos (
id INTEGER PRIMARY KEY AUTOINCREMENT,
title TEXT NOT NULL,
finished INTEGER CHECK(finished IN (1))
);