diff options
author | Chris <ccbrown112@gmail.com> | 2017-09-05 19:29:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 19:29:26 -0500 |
commit | 90da40b54c5f7b36a3936bee2901fc645cc8ef4c (patch) | |
tree | 22f4681c9891077851012e9607c6c5b479f5fec7 /store | |
parent | 1605fa5102e7d5d76a02456130097d3ab82c2a2b (diff) | |
download | chat-90da40b54c5f7b36a3936bee2901fc645cc8ef4c.tar.gz chat-90da40b54c5f7b36a3936bee2901fc645cc8ef4c.tar.bz2 chat-90da40b54c5f7b36a3936bee2901fc645cc8ef4c.zip |
pre 4.2 cut (#7380)
Diffstat (limited to 'store')
-rw-r--r-- | store/sql_upgrade.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/store/sql_upgrade.go b/store/sql_upgrade.go index e10bdec13..7ec831a17 100644 --- a/store/sql_upgrade.go +++ b/store/sql_upgrade.go @@ -296,8 +296,7 @@ func UpgradeDatabaseToVersion41(sqlStore SqlStore) { } func UpgradeDatabaseToVersion42(sqlStore SqlStore) { - // TODO: Uncomment following condition when version 4.1.0 is released - // if shouldPerformUpgrade(sqlStore, VERSION_4_1_0, VERSION_4_2_0) { - // saveSchemaVersion(sqlStore, VERSION_4_2_0) - // } + if shouldPerformUpgrade(sqlStore, VERSION_4_1_0, VERSION_4_2_0) { + saveSchemaVersion(sqlStore, VERSION_4_2_0) + } } |