Skip to content
Discussion options

You must be logged in to vote

hey there -

PG's USING is supported using postgresql_using:

 op.alter_column('t1', 'p1',
                    existing_type=sa.TEXT(),
                    type_=sa.REAL(),
                    existing_nullable=True,
                    schema='s1',
                    postgresql_using='"p1"::real')

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Bechma
Comment options

@zzzeek
Comment options

Answer selected by Bechma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #865 on June 16, 2021 12:42.