aboutsummaryrefslogtreecommitdiff
path: root/drizzle/0000_known_scarecrow.sql
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-07-27 16:54:28 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-07-27 16:54:28 +0200
commit71ca66bcba70f7a463df6ee9bdcb0e14b8e60595 (patch)
tree6e962f0d8c3346fd871cb337f9c5a14e4c0f0a08 /drizzle/0000_known_scarecrow.sql
parented39c60ebc10efe2b644172e7c82f943c4fba3cc (diff)
feat: minimal grocery list — add items, check them off
- Groceries DB schema (id, name, checked, created_at) with Drizzle + libsql - /+page.server.ts: load (unchecked items, newest first), add & toggle actions - /+page.svelte: text input + Add button, item list with toggle buttons - Mobile-first styling with scoped CSS classes - AGENTS.md: project-specific rules including UI validation
Diffstat (limited to 'drizzle/0000_known_scarecrow.sql')
-rw-r--r--drizzle/0000_known_scarecrow.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/drizzle/0000_known_scarecrow.sql b/drizzle/0000_known_scarecrow.sql
new file mode 100644
index 0000000..7d70133
--- /dev/null
+++ b/drizzle/0000_known_scarecrow.sql
@@ -0,0 +1,6 @@
+CREATE TABLE `groceries` (
+ `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
+ `name` text NOT NULL,
+ `checked` integer DEFAULT false NOT NULL,
+ `created_at` text NOT NULL
+);