mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-14416: Adds new fields to Channels and Teams for use by LDAP groups removals. (#10450)
* MM-14416: Updates tests. * MM-14416: Adds new fields to models and patches. * MM-14416: Adds upgrade operations. * MM-14416: Removes the 'is' from the new field names. * MM-14416: Some fmting and removes API test change for now. * MM-14416: Adds team patch test. * MM-14416: Using sql.NullBool. * MM-14416: Using sql.NullBool.
This commit is contained in:
committed by
Jesús Espino
parent
683f215bd9
commit
16a9489bbb
@@ -634,6 +634,9 @@ func UpgradeDatabaseToVersion510(sqlStore SqlStore) {
|
||||
}
|
||||
}
|
||||
|
||||
sqlStore.CreateColumnIfNotExistsNoDefault("Channels", "GroupConstrained", "tinyint(1)", "boolean")
|
||||
sqlStore.CreateColumnIfNotExistsNoDefault("Teams", "GroupConstrained", "tinyint(1)", "boolean")
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_5_10_0)
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user