

def add_source_files_to_schema(self):
    with self.connect(initialize=False) as db:
        try:
            db.cursor().execute('SELECT source_files FROM contexts')
        except OperationalError:
            db.cursor().execute("ALTER TABLE contexts ADD COLUMN source_files NOT NULL DEFAULT ''")

dataset/ETHPy150Open willowtreeapps/tango-core/tango/shelf.py SqliteConnector.add_source_files_to_schema/original