<s> from sqlalchemy import Column , Table , MetaData , Boolean , String <EOL> meta = MetaData ( ) <EOL> dns2 = Column ( '<STR_LIT>' , String ( <NUM_LIT:255> ) ) <EOL> def upgrade ( migrate_engine ) : <EOL> meta . bind = migrate_engine <EOL> networks = Table ( '<STR_LIT>' , meta , autoload = True ) <EOL> networks . c . dns . alter ( Column ( '<STR_LIT>' , String ( <NUM_LIT:255> ) ) ) <EOL> networks . create_column ( dns2 ) <EOL> def downgrade ( migrate_engine ) : <EOL> meta . bind = migrate_engine <EOL> networks = Table ( '<STR_LIT>' , meta , autoload = True ) <EOL> networks . c . dns1 . alter ( Column ( '<STR_LIT>' , String ( <NUM_LIT:255> ) ) ) <EOL> networks . drop_column ( dns2 ) </s>
