code: def upgrade():
      with op.batch_alter_table("dbs") as batch_op:
          try:
              # Postgres migration
              batch_op.alter_column(
                  "encrypted_extra",
                  existing_type=sa.Text(),
                  type_=sa.LargeBinary(),
                  postgresql_using="encrypted_extra::bytea",
                  existing_nullable=True,
              )
          except TypeError:
              # non-Postgres migration
              batch_op.alter_column(
                  "dbs",
                  "encrypted_extra",
                  existing_type=sa.Text(),
                  type_=sa.LargeBinary(),
                  existing_nullable=True,
              )
  
imports: import sqlalchemy
  from alembic import op
  from sqlalchemy_utils import EncryptedType
label_desc: Use image node_id 1 for calling a global function with example usage: upgrade() without return types