fix(db): idempotent services seed — no more duplicate services #185

Merged
groombook-engineer[bot] merged 3 commits from fix/gro-301-duplicate-services into main 2026-04-01 12:28:35 +00:00
Showing only changes of commit 5dd76aa51f - Show all commits
+2
View File
@@ -431,7 +431,9 @@ async function seed() {
)
`);
const serviceIds: string[] = [];
for (const s of servicesDef) {
serviceIds.push(s.id);
await db.insert(schema.services)
.values({
id: s.id,