Python Forum

Full Version: db migration(db version control) for python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am looking for db migration(db version control) api which can be invoked from python code for SQL Server db (like Flyway in Java and dbUpdate in C#), migration scripts are sql scripts. Any help will be appreciated.
For websites, that are using Flask, see: https://flask-migrate.readthedocs.io/en/latest/
and a tutorial on same here: https://blog.miguelgrinberg.com/post/the...v-database

you can also find many database migration packages here (I cannot comment on their suitability as I have tried none of them): https://pypi.org/search/?q=migration
(May-30-2021, 12:14 PM)Larz60+ Wrote: [ -> ]For websites, that are using Flask, see: https://flask-migrate.readthedocs.io/en/latest/
and a tutorial on same here: https://blog.miguelgrinberg.com/post/the...v-database

you can also find many database migration packages here (I cannot comment on their suitability as I have tried none of them): https://pypi.org/search/?q=migration
Thank you very much. I will try.