An AI agent or an ORM command deleted your data: what to do now

One page per case people search for: how to recover the data, why it happened and how to block the statement next time. Each page cites the developers' public reports and the official docs.

What happenedRules
AI agent deleted your production database? What happened and how to recover
The general page: Claude Code, Codex, Replit and the ORM commands behind the reports.
VERICTO-010, VERICTO-012, VERICTO-015, VERICTO-001
Claude Code deleted your production database or dropped a column? How to recover
Four public reports: DROP COLUMN over SSH, drizzle-kit push --force and two Prisma resets.
VERICTO-015, VERICTO-010, VERICTO-012
Codex deleted your database? When a test's drop_all() reaches production
A test's SQLAlchemy drop_all() ran with the production .env loaded.
VERICTO-010
prisma migrate reset or db push --force-reset deleted your data? How to recover
prisma migrate reset, db push --force-reset and an accepted db push reset: what each does.
VERICTO-012, VERICTO-010
drizzle-kit push --force deleted your data? How to recover, and push vs migrate
drizzle-kit push --force auto-accepted the data-loss statements on production.
VERICTO-010, VERICTO-015
SQLAlchemy drop_all() ran against production? How to recover and keep tests off it
Base.metadata.drop_all() from a test fixture, with the engine pointed at production.
VERICTO-010

For each statement on its own, with its recovery and the CLI output, see the rule pages.