mirror of
https://github.com/fergalmoran/bitchmin.git
synced 2025-12-22 09:27:53 +00:00
13 lines
243 B
Python
13 lines
243 B
Python
from flask_migrate import Migrate, upgrade
|
|
from app import create_app, db
|
|
|
|
app = create_app()
|
|
migrate = Migrate(app, db)
|
|
|
|
|
|
@app.cli.command()
|
|
def deploy():
|
|
"""Run deployment tasks"""
|
|
# Migrate database to latest revision
|
|
upgrade()
|