supabase-operator/testdata/supabase/seed.sql
Peter Kurfer ef8f3471ab
Some checks failed
Lint / Run on Ubuntu (push) Failing after 3m14s
E2E Tests / Run on Ubuntu (push) Failing after 24s
Tests / Run on Ubuntu (push) Failing after 2m42s
release / release (push) Successful in 7m58s
chore: setup some example schema to play around
2025-01-21 08:53:10 +01:00

11 lines
No EOL
457 B
SQL

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');