diff --git a/ereuse_devicehub/migrations/versions/2b90b41a556a_create_placeholders.py b/ereuse_devicehub/migrations/versions/2b90b41a556a_create_placeholders.py index 90180c20..8c4915dc 100644 --- a/ereuse_devicehub/migrations/versions/2b90b41a556a_create_placeholders.py +++ b/ereuse_devicehub/migrations/versions/2b90b41a556a_create_placeholders.py @@ -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()