From 71efe63ca9cd47ceff2fa26cac15bc8da7c7820d Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 20 Jul 2022 17:29:29 +0200 Subject: [PATCH] fix migration --- .../migrations/versions/2b90b41a556a_create_placeholders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()