diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go index 056f6f5c8b..65a55526d4 100644 --- a/store/sqlstore/upgrade.go +++ b/store/sqlstore/upgrade.go @@ -18,7 +18,7 @@ import ( ) const ( - CURRENT_SCHEMA_VERSION = VERSION_5_25_0 + CURRENT_SCHEMA_VERSION = VERSION_5_26_0 VERSION_5_26_0 = "5.26.0" VERSION_5_25_0 = "5.25.0" VERSION_5_24_0 = "5.24.0" @@ -815,10 +815,9 @@ func upgradeDatabaseToVersion525(sqlStore SqlStore) { } func upgradeDatabaseToVersion526(sqlStore SqlStore) { - // TODO: uncomment when the time arrive to upgrade the DB for 5.26 - //if shouldPerformUpgrade(sqlStore, VERSION_5_25_0, VERSION_5_26_0) { - sqlStore.CreateColumnIfNotExists("Sessions", "ExpiredNotify", "boolean", "boolean", "0") + if shouldPerformUpgrade(sqlStore, VERSION_5_25_0, VERSION_5_26_0) { + sqlStore.CreateColumnIfNotExists("Sessions", "ExpiredNotify", "boolean", "boolean", "0") - //saveSchemaVersion(sqlStore, VERSION_5_26_0) - //} + saveSchemaVersion(sqlStore, VERSION_5_26_0) + } }