def diff_map(self, inwrapper):
        stmts = super(ForeignDataWrapper, self).diff_map(inwrapper)
        if inwrapper.owner is not None:
            if inwrapper.owner != self.owner:
                stmts.append(self.alter_owner(inwrapper.owner))
        stmts.append(self.diff_description(inwrapper))
        return stmts
Generate SQL to transform an existing wrapper
dataset/ETHPy150Open perseas/Pyrseas/pyrseas/dbobject/foreign.py/ForeignDataWrapper.diff_map