'Dirtied table for OPF metadata backups'

def upgrade_version_13(self):

    script = u'\n                                DROP    TABLE    IF    EXISTS    metadata_dirtied;\n                                CREATE    TABLE    metadata_dirtied(id    INTEGER    PRIMARY    KEY,\n                                                                                                                    book    INTEGER    NOT    NULL,\n                                                                                                                    UNIQUE(book));\n                                INSERT    INTO    metadata_dirtied    (book)    SELECT    id    FROM    books;\n                                '
    self.db.execute(script)
