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():
|
def upgrade():
|
||||||
# op.execute("COMMIT")
|
# op.execute("COMMIT")
|
||||||
op.execute("ALTER TYPE snapshotsoftware ADD VALUE 'WorkbenchDesktop'")
|
op.execute("ALTER TYPE snapshotsoftware ADD VALUE 'WorkbenchDesktop'")
|
||||||
SOFTWARE = sa.Enum(
|
SOFTWARE = sa.dialects.postgresql.ENUM(
|
||||||
'Workbench',
|
'Workbench',
|
||||||
'WorkbenchAndroid',
|
'WorkbenchAndroid',
|
||||||
'AndroidApp',
|
'AndroidApp',
|
||||||
|
|
Reference in New Issue