def backout(self, repo, uri, db):
        update_statement = """delete from file_types where
                              file_id in (select id from files f
                                            where f.repository_id = ?)"""

        self._do_backout(repo, uri, db, update_statement)