fix: typo in Alembic enum type declaration (#7380)

fix: typo in alembic enum type
This commit is contained in:
Ítalo Johnny 2025-04-01 16:49:02 -03:00 • committed by GitHub
commit 31f95820d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,5 +33,5 @@ def downgrade() -> None:
if migration.column_exists(table_name='flow', column_name='access_type', conn=conn):
batch_op.drop_column('access_type')
access_type_enum = sa.EnuM('PRIVATE', 'PUBLIC', name='access_type_enum')
access_type_enum = sa.Enum('PRIVATE', 'PUBLIC', name='access_type_enum')
access_type_enum.drop(conn, checkfirst=True)