Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alembic integration #10

Open
italomaia opened this issue Dec 4, 2014 · 2 comments
Open

Alembic integration #10

italomaia opened this issue Dec 4, 2014 · 2 comments

Comments

@italomaia
Copy link
Owner

Flask-empty needs commands.py integration with alembic. Who lives without migrations nowadays?!

@KirillStr
Copy link
Contributor

What is the problem?

pip install Flask-Migrate

add a couple of lines in manage.py

++
from flask.ext import migrate
...
manager.add_command('db', migrate.MigrateCommand)

@italomaia
Copy link
Owner Author

Oh, I just wrote that to not forget adding this to empty's cookiecutter template. It would be nice ensuring flask-sqlalchemy support and flask-migrate support are tied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants