def execute_scripts(self, log_to_table = False):
        for tuple in self.queued_scripts_collection.get_sorted_scripts():
            script_name, db_nickname, sql = tuple
            if (log_to_table == False):
                self.__execute(db_nickname, script_name, sql)
            else:
                c = self.__get_conn_hash(db_nickname)
                self.__create_tracking_table_in_conn_if_required(c)
                if (not self.database_handler.is_in_tracking_table(c, script_name)):
                    self.__execute(db_nickname, script_name, sql)
                    self.database_handler.record_script_in_tracking_table(c, script_name)
Executes all scripts.  Creates a tracking table and logs script
dataset/ETHPy150Open jzohrab/DbMigrator/dbMigrator/migrator.py/ScriptRunner.execute_scripts