Flask-Migrate
flask-db
Flask-Migrate | flask-db | |
---|---|---|
5 | 5 | |
2,304 | 73 | |
- | - | |
6.2 | 6.2 | |
about 1 month ago | 4 months ago | |
Python | Python | |
MIT License | MIT License |
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
flask-db
-
My experience upgrading project from Flask v1 to v2
When I updated Flask 1 to 2 I didn't encounter any issues with migrations but I also use Flask-DB not Flask-Migrate. Everything worked great.
-
Best way to make changes to deployed app db?
I've written https://github.com/nickjj/flask-db which is a Flask extension that makes using Alembic a bit more convenient and also adds quality of life improvements like being able to reset and create your main / test database and run a "seed" command to seed your DB with initial data.
-
Flask_Migrate missing upgrade/downgrade commands
It looks like you have Flask-DB installed which is an alternative library to Flask-Migrate. Flask-DB is something I wrote btw which uses Alembic to handle the migrations, that's the official SQLAlchemy DB migration tool.
-
SQLAlchemy 1.4.0 Released
If anyone happens to use SQLAlchemy, Alembic and Flask a while back I open sourced a Flask CLI extension called Flask-DB at https://github.com/nickjj/flask-db.
Its focus is to quickly init Alembic configs with a few opinions, alias the official Alembic CLI for migrations and also let you quickly reset and seed your database using patterns found in other frameworks (such as having a seeds.py file that you can do whatever you want in).
-
Outdated Flask extensions
Flask-DB for database migrations and initializing / seeding your DB
What are some alternatives?
django-migration-linter - :rocket: Detect backward incompatible migrations for your django project
fastapi-admin - A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin
sqlite-web - Web-based SQLite database browser written in Python
Flask-Tortoise - Adds asynchronous Tortoise ORM(Like Django-ORM) support for flask app.
stock_screener - Picking stocks through various screening methods. Focus on Northern Europe.
flask-pg-extras - A Flask extension to obtain useful information from your PostgreSQL database.
Flask - The Python micro framework for building web applications.
flask-restful - Simple framework for creating REST APIs
find-the-state-api - 🔍 Find all the States in the contiguous USA on a map. Simple enough.
Flask-User - Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.
burplist - Web crawler for Burplist, a search engine for craft beers in Singapore
sqlsugar - Automatic migrations for SQLAlchemy 🍭