summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-04 13:10:16 -0700
committerGitHub <noreply@github.com>2017-10-04 13:10:16 -0700
commitda368539e37c0521cddc673d089bd863d0db3026 (patch)
tree4d28c9d92bfc5b5ab5ec493027475245973b7b27 /store
parent07777f5ff9e0bde26abd0288164e5f73b6da992a (diff)
downloadchat-da368539e37c0521cddc673d089bd863d0db3026.tar.gz
chat-da368539e37c0521cddc673d089bd863d0db3026.tar.bz2
chat-da368539e37c0521cddc673d089bd863d0db3026.zip
4.3 pre-cut (#7569)
* 4.3 pre-cut * fix
Diffstat (limited to 'store')
-rw-r--r--store/sqlstore/upgrade.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go
index 1973536f6..64d5b0763 100644
--- a/store/sqlstore/upgrade.go
+++ b/store/sqlstore/upgrade.go
@@ -55,6 +55,7 @@ func UpgradeDatabase(sqlStore SqlStore) {
UpgradeDatabaseToVersion40(sqlStore)
UpgradeDatabaseToVersion41(sqlStore)
UpgradeDatabaseToVersion42(sqlStore)
+ UpgradeDatabaseToVersion43(sqlStore)
// If the SchemaVersion is empty this this is the first time it has ran
// so lets set it to the current version.
@@ -303,8 +304,7 @@ func UpgradeDatabaseToVersion42(sqlStore SqlStore) {
}
func UpgradeDatabaseToVersion43(sqlStore SqlStore) {
- // TODO: Uncomment following condition when version 4.3.0 is released
- //if shouldPerformUpgrade(sqlStore, VERSION_4_2_0, VERSION_4_3_0) {
- // saveSchemaVersion(sqlStore, VERSION_4_3_0)
- //}
+ if shouldPerformUpgrade(sqlStore, VERSION_4_2_0, VERSION_4_3_0) {
+ saveSchemaVersion(sqlStore, VERSION_4_3_0)
+ }
}