You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sqlalchemy.exc.ProgrammingError: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.CannotCoerceError'>: cannot cast type first_enum to second_enum
the fix is simple, instead of using postgresql_using='first_enum::second', I've changed to postgresql_using='first_enum::VARCHAR::second_enum'
The text was updated successfully, but these errors were encountered:
I've changed an enum and I'm getting:
the fix is simple, instead of using
postgresql_using='first_enum::second'
, I've changed topostgresql_using='first_enum::VARCHAR::second_enum'
The text was updated successfully, but these errors were encountered: