Update: revert

This commit is contained in:
Yûki VACHOT 2021-12-08 11:30:46 +01:00
parent a5f8ba7a84
commit 66fe84e3eb
7 changed files with 45 additions and 39 deletions

View file

@ -0,0 +1,14 @@
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from flask import current_app as app
from backend import db
migrate = Migrate(app, db)
manager = Manager(app)
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
manager.run()