From 2205f6d074e032202127fc621e6693515d4f62ff Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 6 Sep 2017 17:47:52 -0500 Subject: add commented 4.3 upgrade func (#7388) --- store/sql_upgrade.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'store') diff --git a/store/sql_upgrade.go b/store/sql_upgrade.go index 7ec831a17..259cb0ab3 100644 --- a/store/sql_upgrade.go +++ b/store/sql_upgrade.go @@ -15,6 +15,7 @@ import ( ) const ( + VERSION_4_3_0 = "4.3.0" VERSION_4_2_0 = "4.2.0" VERSION_4_1_0 = "4.1.0" VERSION_4_0_0 = "4.0.0" @@ -300,3 +301,10 @@ func UpgradeDatabaseToVersion42(sqlStore SqlStore) { saveSchemaVersion(sqlStore, VERSION_4_2_0) } } + +func UpgradeDatabaseToVersion43(sqlStore SqlStore) { + // TODO: Uncomment following condition when version 4.3.0 is released + //if shouldPerformUpgrade(sqlStore, VERSION_4_2_0, VERSION_4_3_0) { + // saveSchemaVersion(sqlStore, VERSION_4_3_0) + //} +} -- cgit v1.2.3-1-g7c22