def _get_foreign_key(self, foreign):
        on = self.wrap_table(foreign.on)

        columns = self.columnize(foreign.columns)

        references = foreign.references
        if not isinstance(references, list):
            references = [references]

        on_columns = self.columnize(references)

        return ', FOREIGN KEY(%s) REFERENCES %s(%s)' % (columns, on, on_columns)
dataset/ETHPy150Open sdispater/orator/orator/schema/grammars/sqlite_grammar.py/SQLiteSchemaGrammar._get_foreign_key/original