Этот коммит содержится в:
Christopher Speller
2017-11-06 16:02:19 -08:00
коммит произвёл GitHub
родитель 4731057e50
Коммит fef70d6c9e
2 изменённых файлов: 6 добавлений и 7 удалений

Просмотреть файл

@@ -13,6 +13,7 @@ import (
// It should be maitained in chronological order with most current // It should be maitained in chronological order with most current
// release at the front of the list. // release at the front of the list.
var versions = []string{ var versions = []string{
"4.4.0",
"4.3.0", "4.3.0",
"4.2.0", "4.2.0",
"4.1.0", "4.1.0",

Просмотреть файл

@@ -312,12 +312,10 @@ func UpgradeDatabaseToVersion43(sqlStore SqlStore) {
} }
func UpgradeDatabaseToVersion44(sqlStore SqlStore) { func UpgradeDatabaseToVersion44(sqlStore SqlStore) {
// TODO: Uncomment following condition when version 4.4.0 is released if shouldPerformUpgrade(sqlStore, VERSION_4_3_0, VERSION_4_4_0) {
// if shouldPerformUpgrade(sqlStore, VERSION_4_3_0, VERSION_4_4_0) { // Add the IsActive column to UserAccessToken.
sqlStore.CreateColumnIfNotExists("UserAccessTokens", "IsActive", "boolean", "boolean", "1")
// Add the IsActive column to UserAccessToken. saveSchemaVersion(sqlStore, VERSION_4_4_0)
sqlStore.CreateColumnIfNotExists("UserAccessTokens", "IsActive", "boolean", "boolean", "1") }
// saveSchemaVersion(sqlStore, VERSION_4_4_0)
// }
} }