#NEWLINE# def upgrade( migrate_engine ) : #NEWLINE# #INDENT# meta . bind = instances #NEWLINE# instances = Table ( 'instances' , meta , autoload = True , autoload_with = migrate_engine ) #NEWLINE# image_id_column = instances . c . image_id #NEWLINE# image_id_column . alter ( name = 'image_ref' )