-
Database
Set up real database migrations
Replaces manual schema edits and auto-sync with versioned, runnable migrations that work the same everywhere.
Free Prompt
What This Does / How This Helps
Replaces manual schema edits and ORM auto-sync with versioned migrations that run identically on every environment. Hand-edited schemas drift. Local has one shape, staging another, production a third, and deploys fail because the code expects a column that only exists on your laptop. Auto-sync is worse: it silently alters production tables to match the models, and dropping a field from a model can drop the column and everything in it. You get a baseline that rebuilds the whole schema from nothing, which doubles as your disaster recovery answer for 'how do I recreate the database?'
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).