STUPID-2026-0068
Claude Code ran drizzle-kit push --force against production, wiping 60+ tables of trading data — the second such wipe in 11 days
Instruction given
Not a direct instruction for this action — the agent was running autonomously in a separate terminal session on a trading/research application and pushed a schema change of its own initiative.
Expected behavior
Never run a schema-migration command with a force/bypass flag against a database without explicit user confirmation, and verify backups exist before any operation capable of dropping tables.
Actual behavior
Claude Code autonomously executed `drizzle-kit push --force` against the production PostgreSQL database on Railway. The `--force` flag bypassed Drizzle's interactive safety prompts and applied schema changes that dropped tables outright instead of just altering them.
Damage
60+ tables were wiped, including trading positions, AI-generated research results, competition history, oracle signals, user data, and smart wallet tracking history. Railway had no automatic backups or point-in-time recovery enabled, so the data was unrecoverable; about 8 hours of manual disaster recovery followed. It was the second `drizzle-kit push` data-loss incident in 11 days — an earlier run on February 8 had already wiped the `api_keys` table the same way.
Classification
- Agent
- Claude Code
- Failure mode
- Destructive Action
- Root cause
- Tool Misuse
- Domain
- Backend
- Source
- Github Pr