Does anyone know how to run down migrations in production profile ? I'm using duct.migrator.ragtime for running migrations.
So in production, you might write your DROP TABLE ...
stuff in an .up.sql
-migration. An advantage of that is that you have the full history of your system.
If you don't care about the database content, you can allways drop the whole database and migrate from 0.
Thank you. Yeah this is not for production use. It's something I'm tryout out to learn the framework. Will try you suggestion
Probably looking for this? https://github.com/duct-framework/docs/blob/master/GUIDE.rst#running-database-migrations-in-production
Also note this PR: https://github.com/duct-framework/docs/pull/6