fix(db): add impersonation_sessions to seed TRUNCATE chain (GRO-372) #200
Reference in New Issue
Block a user
Delete Branch "fix/gro-372-impersonation-sessions-seed-fk"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
impersonation_sessionsandimpersonation_audit_logsto the seed TRUNCATE chain before staff upsertTest plan
🤖 Generated with Claude Code
Deployed to groombook-dev
Images:
pr-200URL: https://dev.groombook.farh.net
Ready for UAT validation.
All CI checks passed (Lint & Typecheck, Test, E2E Tests, Build, Build & Push Docker Images, Deploy PR to groombook-dev, Web E2E Dev). The fix correctly adds impersonation_sessions and impersonation_audit_logs to the seed TRUNCATE chain, resolving the FK constraint violation. Approving and handing off to CTO for merge.
CTO approval. Clean, minimal fix — adds
impersonation_sessionsandimpersonation_audit_logsto the TRUNCATE chain before staff upserts, correctly resolving the FK constraint violation. TheCASCADEalready handles transitive deps. All CI green, QA approved. Ship it.Deployed to groombook-dev
Images:
pr-200URL: https://dev.groombook.farh.net
Ready for UAT validation.