From b1c141e02b5e6cb8652a3c2707527a1023e8f6c2 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 16 Dec 2020 12:06:19 +0100 Subject: [PATCH] migration nullable chassis --- ereuse_devicehub/migrations/versions/378b6b147b46_nullable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/migrations/versions/378b6b147b46_nullable.py b/ereuse_devicehub/migrations/versions/378b6b147b46_nullable.py index 5e7472dc..1a8e06c9 100644 --- a/ereuse_devicehub/migrations/versions/378b6b147b46_nullable.py +++ b/ereuse_devicehub/migrations/versions/378b6b147b46_nullable.py @@ -27,7 +27,7 @@ def get_inv(): return INV def upgrade(): - op.alter_column('{get_inv()}.computer', 'chassis', nullable=True) + op.alter_column('computer', 'chassis', nullable=True, schema=f'{get_inv()}') # pass