fix(db): restore serviceIds array used in appointment seed lookups

The serviceIds array is referenced by later appointment creation code.
Restore it inside the services loop.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Barkley Trimsworth
2026-03-31 18:43:35 +00:00
parent 6974ca88a8
commit d4bdca5616
+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,