diff options
author | George Goldberg <george@gberg.me> | 2018-02-13 18:03:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-13 18:03:09 +0000 |
commit | 0663f5f88d8a2945178c521884a5323d6fac14ee (patch) | |
tree | 3bf2abdb95a8bb311f1ae92a69031abd7d45f884 /store/sqlstore | |
parent | 5c101253c5987743cf1b3a8fe68814d748070622 (diff) | |
download | chat-0663f5f88d8a2945178c521884a5323d6fac14ee.tar.gz chat-0663f5f88d8a2945178c521884a5323d6fac14ee.tar.bz2 chat-0663f5f88d8a2945178c521884a5323d6fac14ee.zip |
XYZ-78: Add note to upgrade code about advanced permissions migration. (#8267)
Diffstat (limited to 'store/sqlstore')
-rw-r--r-- | store/sqlstore/upgrade.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go index 56fdf9d6c..265696288 100644 --- a/store/sqlstore/upgrade.go +++ b/store/sqlstore/upgrade.go @@ -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) |