From 7a0e21d682a518267c03bcb4b99a84dfef702161 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 7 Jun 2022 15:05:39 +0200 Subject: [PATCH] dialects.postgresql.ENUM instead of sa.Enum --- .../migrations/versions/b4bd1538bad5_update_live.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/migrations/versions/b4bd1538bad5_update_live.py b/ereuse_devicehub/migrations/versions/b4bd1538bad5_update_live.py index ffaa57ea..f340df6a 100644 --- a/ereuse_devicehub/migrations/versions/b4bd1538bad5_update_live.py +++ b/ereuse_devicehub/migrations/versions/b4bd1538bad5_update_live.py @@ -27,7 +27,7 @@ def get_inv(): def upgrade(): # op.execute("COMMIT") op.execute("ALTER TYPE snapshotsoftware ADD VALUE 'WorkbenchDesktop'") - SOFTWARE = sa.Enum( + SOFTWARE = sa.dialects.postgresql.ENUM( 'Workbench', 'WorkbenchAndroid', 'AndroidApp',