

def morphs(self, name, index_name=None):
    '\n        Add the proper columns for a polymorphic table.\n\n        :type name: str\n\n        :type index_name: str\n        '
    name.unsigned_integer(('%s_id' % name))
    self.string(('%s_type' % name))
    self.index([('%s_id' % name), ('%s_type' % name)], index_name)

dataset/ETHPy150Open sdispater/orator/orator/schema/blueprint.py Blueprint.morphs/VarMisuse@18/70 `self`->`name`