Finalize template

This commit is contained in:
Toni Koskinen
2026-03-26 13:45:33 +02:00
parent 1786acc75c
commit 4517620d9e
12 changed files with 158 additions and 3 deletions

5
prisma/seed.sql Normal file
View 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;