fix migration

This commit is contained in:
Cayo Puigdefabregas 2022-07-20 17:29:29 +02:00
parent 5d9928bd70
commit 71efe63ca9

View file

@ -46,7 +46,7 @@ def get_inv():
def init_app():
app = Devicehub(inventory=DevicehubConfig.DB_SCHEMA)
app = Devicehub(inventory=f'{get_inv()}')
app.app_context().push()