MM-10352: Add locking incoming webhooks to a single channel. (#8835)

This commit is contained in:
George Goldberg
2018-05-22 19:06:14 +01:00
committed by Christopher Speller
parent 1af1bce619
commit 8fb070fecf
5 changed files with 45 additions and 11 deletions

View File

@@ -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)
//}
}