mirror of https://github.com/waku-org/nwaku.git
chore: content_script_version_2: add simple protection and rename messages_backup if exists (#2531)
This commit is contained in:
parent
c734f60d06
commit
c6c376b59c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue