From 3d382cfa0e01938a24578602777325fe7fccd0c1 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Thu, 6 Jul 2017 22:07:27 +0800 Subject: Uncomment upgrade for 4.0 (#6844) --- store/sql_upgrade.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'store/sql_upgrade.go') 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) + } } -- cgit v1.2.3-1-g7c22