aboutsummaryrefslogtreecommitdiffstats
path: root/backend/prisma
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-11-07 21:53:18 -0800
committerPinapelz <yukais@pinapelz.com>2025-11-07 21:53:18 -0800
commit5963d4904cb6e4abe1b379e85a8a29cf03ade6a8 (patch)
tree74535b069e6b6f93dfbbeddb651945b46eb8d437 /backend/prisma
parentc273c56122121e7e131c24597a500be07e0e22ef (diff)
backend: skip duplicates on seed
Diffstat (limited to 'backend/prisma')
-rw-r--r--backend/prisma/seed.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/prisma/seed.ts b/backend/prisma/seed.ts
index b6ee09e..54699f2 100644
--- a/backend/prisma/seed.ts
+++ b/backend/prisma/seed.ts
@@ -42,6 +42,7 @@ async function main() {
description: "A drum-based rhythm game"
}
],
+ skipDuplicates: true
});
console.log("Initial seed data inserted");
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage