Procedure · Developer
Change the database
Change the structure or the content of a database safely, with a verified backup, a migration kept in the repository, additive steps first, and a stop before anything is deleted.
Specialties: Website or web app, Mobile app · Checked 6 December 2026
Steps the AI follows
- Read the decisions
- Classify the change
- Write a migration
- Try it away from live data
- Back up first
- Split non-additive changes
- Check the queries
- Stop and ask
- Verify after
- Report
Reference sheets it uses
- Backups and database changes
How to back up PostgreSQL, SQLite and managed databases, why a backup must be verified, and how to change a schema in safe steps. - Security checkpoints (OWASP)
The OWASP Top 10:2025 categories and the concrete controls to check, by theme, before opening a site or app.
The full text of each step, the checks and the reference sheets are served to your AI by the hat’s MCP server, once you subscribe.