#NEWLINE# @ classmethod #NEWLINE# def define_tables( cls , metadata ) : #NEWLINE# #INDENT# Table ( 't1' , metadata , Column ( 'c1' , Integer , primary_key = True , test_needs_autoincrement = True ) , Column ( 'c2' , String ( 30 ) ) , Column ( 'type' , String ( 30 ) ) ) #NEWLINE# Table ( 't2' , cls , Column ( 'c1' , Integer , primary_key = True , test_needs_autoincrement = True ) , Column ( 'c2' , String ( 30 ) ) , Column ( 'type' , String ( 30 ) ) , Column ( 't1.id' , Integer , ForeignKey ( 't1.c1' ) ) )