summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-06-06 18:29:47 -0400
committerGitHub <noreply@github.com>2017-06-06 18:29:47 -0400
commit4554d511d57d4181c1d5a67aaa5d1e2092cf105b (patch)
tree1ee39545e0341e225197b22d143649b92c302047 /store
parentc831e14ed058bb78f58d5716cdbf1d3826674df9 (diff)
downloadchat-4554d511d57d4181c1d5a67aaa5d1e2092cf105b.tar.gz
chat-4554d511d57d4181c1d5a67aaa5d1e2092cf105b.tar.bz2
chat-4554d511d57d4181c1d5a67aaa5d1e2092cf105b.zip
Uncomment upgrade for 3.10 (#6600)
Diffstat (limited to 'store')
-rw-r--r--store/sql_upgrade.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/store/sql_upgrade.go b/store/sql_upgrade.go
index b5f78a671..180af43a0 100644
--- a/store/sql_upgrade.go
+++ b/store/sql_upgrade.go
@@ -266,9 +266,7 @@ func UpgradeDatabaseToVersion39(sqlStore *SqlStore) {
}
func UpgradeDatabaseToVersion310(sqlStore *SqlStore) {
- // TODO: Uncomment following condition when version 3.10.0 is released
- //if shouldPerformUpgrade(sqlStore, VERSION_3_9_0, VERSION_3_10_0) {
-
- // saveSchemaVersion(sqlStore, VERSION_3_10_0)
- //}
+ if shouldPerformUpgrade(sqlStore, VERSION_3_9_0, VERSION_3_10_0) {
+ saveSchemaVersion(sqlStore, VERSION_3_10_0)
+ }
}