django-migration-linter
:rocket: Detect backward incompatible migrations for your django project (by 3YOURMIND)
Flask-Migrate
SQLAlchemy database migrations for Flask applications using Alembic (by miguelgrinberg)
Our great sponsors
django-migration-linter | Flask-Migrate | |
---|---|---|
3 | 5 | |
509 | 2,295 | |
2.0% | - | |
6.8 | 6.3 | |
26 days ago | about 1 month ago | |
Python | Python | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-migration-linter
Posts with mentions or reviews of django-migration-linter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-18.
-
How do you verify the safety of database schema migrations?
https://github.com/3YOURMIND/django-migration-linter running before tests in CI, with some extra stuff that only warns by default set up to error out as well, for example non-async index create/drop.
-
Schema Migrations and Avoiding Downtime
A tool I've used with Django in the past is the one: https://github.com/3YOURMIND/django-migration-linter
It helps with the problem that if you're running several application servers it's important to avoid migrations that are backwards incompatible - since if some of your application servers haven't yet updated to the latest code you could get errors when they try to run queries against the migrates database.
-
Does anyone use ci/cd for deploying database changes?
There's actually a Django package called django-migration-linter that can help with this by spotting migrations that could break under that condition: https://github.com/3YOURMIND/django-migration-linter
Flask-Migrate
Posts with mentions or reviews of Flask-Migrate.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-31.
-
flask + postgres + sqlalchemy migrations dockerized intro
Flask-Migrate (https://github.com/miguelgrinberg/flask-migrate) is the package that will help us do our migrations
- I am getting an error when I type flask db init. The error is caused by having app.run() in run.py. How do I get rid of app.run() while making the code still work?
-
Building a Todo List Application with Flask
You'll need to install the Flask-SQLAlchemy and Flask-Migrate extensions which will map all the data in your application to the sqlite db and also handle database migrations.
- Flask_Migrate. MigrateCommand not found
What are some alternatives?
When comparing django-migration-linter and Flask-Migrate you can also consider the following projects:
dev-setup - macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.
flask-db - A Flask CLI extension to help migrate and manage your SQL database.