#NEWLINE# def diff_map( self , intable ) : #NEWLINE# #INDENT# 'Generate SQL to transform an existing table\n\n        :param intable: a YAML map defining the new table\n        :return: list of SQL statements\n        ' #NEWLINE# stmts = super ( ForeignTable , self ) . diff_map ( stmts ) #NEWLINE# if ( intable . owner is not None ) : #NEWLINE# #INDENT# if ( intable . owner != self . owner ) : #NEWLINE# #INDENT# stmts . append ( self . alter_owner ( intable . owner ) ) #NEWLINE# #UNINDENT# #UNINDENT# stmts . append ( self . diff_description ( intable ) ) #NEWLINE# return stmts