From b3c2ecd9b9209413e7272b2fcd7bd3d04f2f85f4 Mon Sep 17 00:00:00 2001 From: Pradeep Murugesan Date: Wed, 25 Jul 2018 14:31:41 +0200 Subject: added the custom icon and username for the outgoing webhook and its response (#9141) * 8272 added the username and icon as part of the model and persisted the same * 8272 added the custome icon and name when set to the web hook response * 8272 changed the infinte loop to timeout after 5 seconds * 8272 fixed review comments --- store/sqlstore/upgrade.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'store/sqlstore/upgrade.go') diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go index 8ea44371c..b2299b223 100644 --- a/store/sqlstore/upgrade.go +++ b/store/sqlstore/upgrade.go @@ -476,7 +476,8 @@ func UpgradeDatabaseToVersion51(sqlStore SqlStore) { func UpgradeDatabaseToVersion52(sqlStore SqlStore) { // TODO: Uncomment following condition when version 5.2.0 is released // if shouldPerformUpgrade(sqlStore, VERSION_5_1_0, VERSION_5_2_0) { - + sqlStore.CreateColumnIfNotExists("OutgoingWebhooks", "Username", "varchar(64)", "varchar(64)", "") + sqlStore.CreateColumnIfNotExists("OutgoingWebhooks", "IconURL", "varchar(1024)", "varchar(1024)", "") // saveSchemaVersion(sqlStore, VERSION_5_2_0) // } } -- cgit v1.2.3-1-g7c22