chore: setup some example schema to play around
This commit is contained in:
parent
39a262dd34
commit
ef8f3471ab
7 changed files with 322 additions and 0 deletions
testdata/supabase
11
testdata/supabase/seed.sql
vendored
Normal file
11
testdata/supabase/seed.sql
vendored
Normal 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');
|
Loading…
Add table
Add a link
Reference in a new issue