Uncomment upgrae for 4.4 (#7796)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4731057e50
Коммит
fef70d6c9e
@@ -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)
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user