wg-verwaltung/backend/prisma
bernd 40b67f2a5f Seed: skip if DB already has data instead of wiping it
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.
2026-08-13 07:18:13 +00:00
..
seed.ts Seed: skip if DB already has data instead of wiping it 2026-08-13 07:18:13 +00:00