diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-07-06 22:07:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-06 22:07:27 +0800 |
commit | 3d382cfa0e01938a24578602777325fe7fccd0c1 (patch) | |
tree | 3d50e762732a342303a429c58956fb9fc56b2cf8 /store/sql_upgrade.go | |
parent | d64d1f4029505f48bb86035a557e2f4229e55443 (diff) | |
download | chat-3d382cfa0e01938a24578602777325fe7fccd0c1.tar.gz chat-3d382cfa0e01938a24578602777325fe7fccd0c1.tar.bz2 chat-3d382cfa0e01938a24578602777325fe7fccd0c1.zip |
Uncomment upgrade for 4.0 (#6844)
Diffstat (limited to 'store/sql_upgrade.go')
-rw-r--r-- | store/sql_upgrade.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/store/sql_upgrade.go b/store/sql_upgrade.go index ef255c5c2..463415851 100644 --- a/store/sql_upgrade.go +++ b/store/sql_upgrade.go @@ -272,9 +272,7 @@ func UpgradeDatabaseToVersion310(sqlStore SqlStore) { } func UpgradeDatabaseToVersion40(sqlStore SqlStore) { - // TODO: Uncomment following condition when version 4.0.0 is released - //if shouldPerformUpgrade(sqlStore, VERSION_3_10_0, VERSION_4_0_0) { - - // saveSchemaVersion(sqlStore, VERSION_4_0_0) - //} + if shouldPerformUpgrade(sqlStore, VERSION_3_10_0, VERSION_4_0_0) { + saveSchemaVersion(sqlStore, VERSION_4_0_0) + } } |