forked from adamrt/flask-evolution
-
Notifications
You must be signed in to change notification settings - Fork 0
Simple migrations for Flask and SQLAlchemy
License
kuozo/flask-evolution
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
## Flask-Evolution ##
Simple migrations for Flask and SQLAlchemy. It was ported from simplemigrations
by Ricardo Chimal, Jr. and modified for sqlalchemy and to be a flask extension.
## Install ##
1) Standard Python Install
2) Init
from flaskext.evolution import Evolution
evolution = Evolution(app)
@manager.command
def migrate(action):
evolution.manager(action)
## USAGE ##
./manage.py migrate init # Create the migrations table
./manage.py migrate create # Create new migration
./manage.py migrate run # Run migrations
./manage.py migrate redo # Redo last migration
./manage.py migrate undo # Undo last migration
About
Simple migrations for Flask and SQLAlchemy
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%