Flask-Migrate
django-migration-linter
Flask-Migrate | django-migration-linter | |
---|---|---|
5 | 3 | |
2,304 | 509 | |
- | -0.2% | |
6.2 | 7.1 | |
about 1 month ago | about 1 month ago | |
Python | Python | |
MIT License | Apache License 2.0 |
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.
Flask-Migrate
-
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
django-migration-linter
-
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
What are some alternatives?
flask-db - A Flask CLI extension to help migrate and manage your SQL database.
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.
sqlite-web - Web-based SQLite database browser written in Python
djLint - ✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
stock_screener - Picking stocks through various screening methods. Focus on Northern Europe.
prisma-client-py - Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
Flask - The Python micro framework for building web applications.
terminusdb - TerminusDB is a distributed database with a collaboration model
find-the-state-api - 🔍 Find all the States in the contiguous USA on a map. Simple enough.
Redash - Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
burplist - Web crawler for Burplist, a search engine for craft beers in Singapore
django-pgschemas - Django multi-tenancy through Postgres schemas