Sooner or later you will ask for something that sounds small: add a phone number to the sign-up form, split "name" into first and last, let one customer have two addresses. On screen it is a tweak. Underneath, your AI has to change the shape of a database that is already full of real records, saved under the old rules. Developers call this step a migration, and it is the one change where a mistake can quietly damage data you cannot get back.
Every change to the data's shape gets written down
A migration is a small file that describes one change to the database, such as "add a phone column to customers". Kept in order, these files are a complete history of how your data got its current shape, and they let the same change run identically on your test copy and on the live app. The thing to avoid is the shortcut: someone editing the live database by hand, so the code and the data quietly stop matching.
Tell your AI: "Make every change to the database structure through a migration file, never by editing the live database directly, and show me the list of migrations we have so far."
Old records do not know about new rules
If you make the new phone field required, what happens to the five hundred customers who signed up before it existed? A careful migration handles them: the field starts out optional, existing records are filled in or marked, and only then does it become required. Renaming or splitting a field works the same way, in steps, so the app never meets data it does not understand.
Tell your AI: "Before this database change, tell me what happens to the records we already have, and plan the migration in steps so no existing record breaks."
Back up, rehearse, then run it
Run every migration on your test copy first, with realistic data, and take a fresh backup of the live database right before running it for real. That is the moment a backup earns its keep, provided you have checked that it actually restores, as covered in testing your backups before you need them. Ask for a way back as well: most migrations can be written with an undo step.
Tell your AI: "Run this migration on staging first, confirm the existing data still looks right, and tell me how we would undo it if something goes wrong on the live app."