Finalize template
This commit is contained in:
5
prisma/seed.sql
Normal file
5
prisma/seed.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
INSERT INTO "posts" ("id","title","content","status","authorName","createdAt","updatedAt")
|
||||
VALUES
|
||||
('post_1','Hello Prisma','First seeded post','DRAFT','Alice',NOW(),NOW()),
|
||||
('post_2','Published post','Seeded and published','PUBLISHED','Bob',NOW(),NOW())
|
||||
ON CONFLICT ("id") DO NOTHING;
|
||||
Reference in New Issue
Block a user