dialects.postgresql.ENUM instead of sa.Enum
This commit is contained in:
parent
498ce6763d
commit
7a0e21d682
|
@ -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',
|
||||
|
|
Reference in a new issue