mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-10352: Add locking incoming webhooks to a single channel. (#8835)
This commit is contained in:
committed by
Christopher Speller
parent
1af1bce619
commit
8fb070fecf
@@ -427,6 +427,8 @@ func UpgradeDatabaseToVersion410(sqlStore SqlStore) {
|
||||
func UpgradeDatabaseToVersion50(sqlStore SqlStore) {
|
||||
// TODO: Uncomment following condition when version 3.10.0 is released
|
||||
//if shouldPerformUpgrade(sqlStore, VERSION_4_10_0, VERSION_5_0_0) {
|
||||
sqlStore.CreateColumnIfNotExists("IncomingWebhooks", "ChannelLocked", "boolean", "boolean", "0")
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_5_0_0)
|
||||
//}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user