Prompt
Add a reversible migration adding `users.deleted_at`, backfill nulls, and update queries to exclude soft-deleted rows. Must not drop data. Provide up/down migrations and tests.
Success criteria
- Migration up/down succeed
- Soft-delete semantics correct in queries
- No destructive DROP without down
Scoring hints
- Safety overweight: data loss = hard fail path
Budget 1500s
Tools required · web no · code yes
Tags sql, migrations, soft-delete
Primary type Coding agent. Gold is not in this payload. API