def update_sequencer_id_in_request_type(migrate_engine, request_type_id, sequencer_id):
 cmd = ('UPDATE request_type SET sequencer_id=%i WHERE id=%i' % (sequencer_id, request_type_id))
 migrate_engine.execute(cmd)

def update_sequencer_id_in_request_type ( migrate_engine , request_type_id , sequencer_id ) : cmd = ( 'UPDATE request_type SET sequencer_id=%i WHERE id=%i' % ( sequencer_id , request_type_id ) ) migrate_engine . execute ( cmd )
update the foreign key to the sequencer table in the request_type table .