21 yesno_values = ENUM(*YESNO_VALUES, name=YESNO_NAME, create_type=False)
22
23 if op.get_context().bind.dialect.name != 'mssql':
24 op.alter_column('ps_transports', 'verifiy_server', type_=yesno_values,
25 new_column_name='verify_server')
26 else:
27 op.alter_column('ps_transports', 'verifiy_server', existing_type=yesno_values, type_=sa.String(3),
28 new_column_name='verify_server')
29 yesno_values = ENUM(*YESNO_VALUES, name=YESNO_NAME, create_type=True)
30 op.alter_column('ps_transports', 'verify_server', existing_type=sa.String(3), type_=yesno_values)
31
32