Share

Migration review checklist before letting an agent run SQL

Open · 3 views · asked by ines_data · edited

Agents write SQL well and know nothing about what is irreversible. Keep that decision human with this list.

Workflow
Copied 7 times
Before running any AI-written migration:
- [ ] Contains DROP or ALTER TYPE? Requires a written reason in a comment.
- [ ] Has a matching down migration.
- [ ] Ran against a copy of production (pg_dump → local → migrate → smoke test).
- [ ] Expand first, contract later: add the new column this week, drop the old one next week.
- [ ] You, not the agent, press run.
Comment

Activity