Skip to content

Commit

Permalink
seed.sql added id field for participants
Browse files Browse the repository at this point in the history
  • Loading branch information
o-on-x committed Nov 11, 2024
1 parent 432362b commit b512d8f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/adapter-postgres/seed.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
INSERT INTO public.accounts (id, name, email, avatarUrl, details) VALUES ('00000000-0000-0000-0000-000000000000', 'Default Agent', 'default@agent.com', '', '{}');
INSERT INTO public.rooms (id) VALUES ('00000000-0000-0000-0000-000000000000');
INSERT INTO public.participants (userId, roomId) VALUES ('00000000-0000-0000-0000-000000000000', '00000000-0000-0000-0000-000000000000');

INSERT INTO public.accounts (id, name, email, "avatarUrl", details)
VALUES ('00000000-0000-0000-0000-000000000000', 'Default Agent', 'default@agent.com', '', '{}'::jsonb);

INSERT INTO public.rooms (id)
VALUES ('00000000-0000-0000-0000-000000000000');

INSERT INTO public.participants (id, "userId", "roomId")
VALUES ('00000000-0000-0000-0000-000000000001', '00000000-0000-0000-0000-000000000000', '00000000-0000-0000-0000-000000000000');

0 comments on commit b512d8f

Please sign in to comment.