chore: let's just call it flask_migrate

I think it should stay, because it can come handy for some deployment methods.
This commit is contained in:
Eneko Illarramendi 2020-09-05 13:16:45 +02:00 committed by fiatjaf
parent 1bc5e144d3
commit d62031b068
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ from flask_cors import CORS # type: ignore
from flask_talisman import Talisman # type: ignore
from werkzeug.middleware.proxy_fix import ProxyFix
from .commands import legacy_migrate
from .commands import flask_migrate
from .core import core_app
from .ext import assets, compress
from .helpers import get_valid_extensions
@ -42,7 +42,7 @@ def register_blueprints(app) -> None:
def register_commands(app):
"""Register Click commands."""
app.cli.add_command(legacy_migrate)
app.cli.add_command(flask_migrate)
def register_flask_extensions(app):

View file

@ -9,7 +9,7 @@ from .helpers import get_valid_extensions
@click.command("migrate")
def legacy_migrate():
def flask_migrate():
migrate_databases()