summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-09-04 15:42:43 +0200
committerGitHub <noreply@github.com>2018-09-04 15:42:43 +0200
commitd2190527eafdae31e14ba0832dcfb79a0a1e223b (patch)
tree73ca240796e9c4bef4ef2324a1b1c24b7cfc0c67 /store
parentb98ef658ad217fafe98af088f516746860b2a7b8 (diff)
downloadchat-d2190527eafdae31e14ba0832dcfb79a0a1e223b.tar.gz
chat-d2190527eafdae31e14ba0832dcfb79a0a1e223b.tar.bz2
chat-d2190527eafdae31e14ba0832dcfb79a0a1e223b.zip
Uncomment upgrade for 5.3.0 (#9354)
* Uncomment upgrade for 5.3.0 * add missing version
Diffstat (limited to 'store')
-rw-r--r--store/sqlstore/upgrade.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go
index ab3bd202b..cd45dfcb3 100644
--- a/store/sqlstore/upgrade.go
+++ b/store/sqlstore/upgrade.go
@@ -484,9 +484,7 @@ func UpgradeDatabaseToVersion52(sqlStore SqlStore) {
}
func UpgradeDatabaseToVersion53(sqlStore SqlStore) {
- // TODO: Uncomment following condition when version 5.3.0 is released
- // if shouldPerformUpgrade(sqlStore, VERSION_5_2_0, VERSION_5_3_0) {
-
- // saveSchemaVersion(sqlStore, VERSION_5_3_0)
- // }
+ if shouldPerformUpgrade(sqlStore, VERSION_5_2_0, VERSION_5_3_0) {
+ saveSchemaVersion(sqlStore, VERSION_5_3_0)
+ }
}