chore: content_script_version_2: add simple protection and rename messages_backup if exists (#2531)

This commit is contained in:
Ivan FB 2024-03-13 17:18:19 +01:00 committed by GitHub
parent c734f60d06
commit c6c376b59c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
const ContentScriptVersion_2* = """
ALTER TABLE IF EXISTS messages_backup RENAME TO messages;
ALTER TABLE messages RENAME TO messages_backup;
ALTER TABLE messages_backup DROP CONSTRAINT messageIndex;