XYZ-78: Add note to upgrade code about advanced permissions migration. (#8267)

Этот коммит содержится в:
George Goldberg
2018-02-13 18:03:09 +00:00
коммит произвёл GitHub
родитель 5c101253c5
Коммит 0663f5f88d

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

@@ -351,6 +351,10 @@ func UpgradeDatabaseToVersion47(sqlStore SqlStore) {
}
func UpgradeDatabaseToVersion48(sqlStore SqlStore) {
// This version of Mattermost includes an App-Layer migration which migrates from hard-coded roles configured by
// a number of parameters in `config.json` to a `Roles` table in the database. The migration code can be seen
// in the file `app/app.go` in the function `DoAdvancedPermissionsMigration()`.
//TODO: Uncomment the following condition when version 4.8.0 is released
//if shouldPerformUpgrade(sqlStore, VERSION_4_7_0, VERSION_4_8_0) {
// saveSchemaVersion(sqlStore, VERSION_4_8_0)