From da5612665343e0d6c4c7d93ef52fa3708eaba842 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 7 Jul 2022 17:43:46 +0200 Subject: [PATCH] fixing schema --- .../migrations/versions/3e3a67f62972_placeholder_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/migrations/versions/3e3a67f62972_placeholder_log.py b/ereuse_devicehub/migrations/versions/3e3a67f62972_placeholder_log.py index b3850218..1e1de004 100644 --- a/ereuse_devicehub/migrations/versions/3e3a67f62972_placeholder_log.py +++ b/ereuse_devicehub/migrations/versions/3e3a67f62972_placeholder_log.py @@ -49,7 +49,7 @@ def upgrade(): sa.Column('owner_id', postgresql.UUID(as_uuid=True), nullable=False), sa.ForeignKeyConstraint( ['placeholder_id'], - [f'{get_inv()}.placeholder.id'], + ['placeholder.id'], ), sa.ForeignKeyConstraint( ['owner_id'],