diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go index a92e1e196c..ce9f25c723 100644 --- a/store/sqlstore/upgrade.go +++ b/store/sqlstore/upgrade.go @@ -18,7 +18,8 @@ import ( ) const ( - CURRENT_SCHEMA_VERSION = VERSION_5_22_0 + CURRENT_SCHEMA_VERSION = VERSION_5_23_0 + VERSION_5_23_0 = "5.23.0" VERSION_5_22_0 = "5.22.0" VERSION_5_21_0 = "5.21.0" VERSION_5_20_0 = "5.20.0" @@ -787,11 +788,9 @@ func upgradeDatabaseToVersion522(sqlStore SqlStore) { } func upgradeDatabaseToVersion523(sqlStore SqlStore) { - // TODO: uncomment when the time arrive to upgrade the DB for 5.23 - // if shouldPerformUpgrade(sqlStore, VERSION_5_22_0, VERSION_5_23_0) { - - // saveSchemaVersion(sqlStore, VERSION_5_23_0) - // } + if shouldPerformUpgrade(sqlStore, VERSION_5_22_0, VERSION_5_23_0) { + saveSchemaVersion(sqlStore, VERSION_5_23_0) + } } func upgradeDatabaseToVersion524(sqlStore SqlStore) {