The seed's deleteMany() chain didn't cover Ticket (or other tables that now reference User), so it started failing with a foreign key violation once real ticket data existed. Rather than cascading the delete (which would wipe real data on every container restart), seed now only runs against an empty database and is a no-op otherwise. |
||
|---|---|---|
| .. | ||
| prisma | ||
| scripts | ||
| src | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||