First commit

This commit is contained in:
AndrewTrieu
2022-12-27 19:38:34 +02:00
commit 08128374c1
25 changed files with 523 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
CREATE TABLE shopping_lists (
id SERIAL PRIMARY KEY,
name TEXT NOT NULL,
active BOOLEAN DEFAULT TRUE
);
CREATE TABLE shopping_list_items (
id SERIAL PRIMARY KEY,
shopping_list_id INTEGER REFERENCES shopping_lists(id),
name TEXT NOT NULL,
collected BOOLEAN DEFAULT FALSE
);