mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-09 16:14:59 +08:00
test whether it works like this
This commit is contained in:
@@ -101,8 +101,9 @@ def testpdc():
|
||||
def upgradedb():
|
||||
""" Upgrades the database schema to the latest revision
|
||||
"""
|
||||
thisdir = os.path.abspath(os.path.dirname(__file__))
|
||||
with app.app_context():
|
||||
flask_migrate.upgrade()
|
||||
flask_migrate.upgrade(directory=thisdir)
|
||||
insert_fake_baseruntime()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user