-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding migration script adding i_query index (#2578)
- Loading branch information
1 parent
a04e0d9
commit 4117fe6
Showing
4 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
migrations/message_store_postgres/content_script_version_3.nim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const ContentScriptVersion_3* = | ||
""" | ||
CREATE INDEX IF NOT EXISTS i_query ON messages | ||
(contentTopic, pubsubTopic, storedAt, id); | ||
UPDATE version SET version = 3 WHERE version = 2; | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters