summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-09-06 17:47:52 -0500
committerGitHub <noreply@github.com>2017-09-06 17:47:52 -0500
commit2205f6d074e032202127fc621e6693515d4f62ff (patch)
tree790b2d79c6696565e0bf8f0167107ae005c21589 /store
parent1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3 (diff)
downloadchat-2205f6d074e032202127fc621e6693515d4f62ff.tar.gz
chat-2205f6d074e032202127fc621e6693515d4f62ff.tar.bz2
chat-2205f6d074e032202127fc621e6693515d4f62ff.zip
add commented 4.3 upgrade func (#7388)
Diffstat (limited to 'store')
-rw-r--r--store/sql_upgrade.go8
1 files changed, 8 insertions, 0 deletions
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)
+ //}
+}