chore: setup some example schema to play around

This commit is contained in:
Peter 2025-01-21 08:53:10 +01:00
parent 39a262dd34
commit ef8f3471ab
Signed by: prskr
GPG key ID: F56BED6903BC5E37
7 changed files with 322 additions and 0 deletions
testdata/supabase

11
testdata/supabase/seed.sql vendored Normal file
View file

@ -0,0 +1,11 @@
INSERT INTO auth.users (id, email, encrypted_password, created_at, email_confirmed_at)
VALUES ('4B9BE43A-4CEE-45E6-8B4B-EA5D69F39056','ted.tester@example.com', '', now(), now());
INSERT INTO categories (name)
VALUES ('Groceries'), ('Work'), ('Personal'), ('Other');
INSERT INTO public.lists (user_id, name)
VALUES ( '4B9BE43A-4CEE-45E6-8B4B-EA5D69F39056', 'Groceries');
INSERT INTO public.tasks (list_id, category_id, name)
VALUES (1, 1, 'Orange Juice');