wg-verwaltung/backend
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
..
prisma Seed: skip if DB already has data instead of wiping it 2026-08-13 07:18:13 +00:00
scripts add backend/scripts/send-test-webhook.ts 2026-08-12 16:36:30 +00:00
src Dateien nach "backend/src/routes" hochladen 2026-08-12 21:55:35 +00:00
Dockerfile add backend/Dockerfile 2026-08-12 16:26:09 +00:00
package-lock.json Fix seed.ts module resolution: move to backend/prisma/ 2026-08-13 07:16:11 +00:00
package.json Fix seed.ts module resolution: move to backend/prisma/ 2026-08-13 07:16:11 +00:00
tsconfig.json add backend/tsconfig.json 2026-08-12 16:26:09 +00:00