From df4524e231627bef3bd1d062c6cf5c3f38e5593f Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Wed, 19 Aug 2020 14:21:03 +0200 Subject: [PATCH] db: upgrade db to 5.27 (#15277) --- store/sqlstore/upgrade.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go index cf2178a792..92860c0ebc 100644 --- a/store/sqlstore/upgrade.go +++ b/store/sqlstore/upgrade.go @@ -19,7 +19,7 @@ import ( ) const ( - CURRENT_SCHEMA_VERSION = VERSION_5_26_0 + CURRENT_SCHEMA_VERSION = VERSION_5_27_0 VERSION_5_28_0 = "5.28.0" VERSION_5_27_0 = "5.27.0" VERSION_5_26_0 = "5.26.0" @@ -829,11 +829,9 @@ func upgradeDatabaseToVersion526(sqlStore SqlStore) { } func upgradeDatabaseToVersion527(sqlStore SqlStore) { - // TODO: uncomment when the time arrive to upgrade the DB for 5.27 - // if shouldPerformUpgrade(sqlStore, VERSION_5_26_0, VERSION_5_27_0) { - - // saveSchemaVersion(sqlStore, VERSION_5_27_0) - // } + if shouldPerformUpgrade(sqlStore, VERSION_5_26_0, VERSION_5_27_0) { + saveSchemaVersion(sqlStore, VERSION_5_27_0) + } } func upgradeDatabaseToVersion528(sqlStore SqlStore) {