db migration(db version control) for python - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: db migration(db version control) for python (/thread-33818.html) |
db migration(db version control) for python - lubaz - May-30-2021 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. RE: db migration(db version control) for python - Larz60+ - May-30-2021 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-flask-mega-tutorial-part-iv-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 RE: db migration(db version control) for python - lubaz - May-30-2021 (May-30-2021, 12:14 PM)Larz60+ Wrote: For websites, that are using Flask, see: https://flask-migrate.readthedocs.io/en/latest/Thank you very much. I will try. |