mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-24 23:34:52 +08:00
Use correct postgres column type for TriggerWhen column (#3716)
This commit is contained in:
committed by
Harrison Healey
parent
2c23a4fe49
commit
0a71d2a111
@@ -47,7 +47,7 @@ func (s SqlWebhookStore) UpgradeSchemaIfNeeded() {
|
||||
s.CreateColumnIfNotExists("OutgoingWebhooks", "DisplayName", "varchar(64)", "varchar(64)", "")
|
||||
s.CreateColumnIfNotExists("OutgoingWebhooks", "Description", "varchar(128)", "varchar(128)", "")
|
||||
s.CreateColumnIfNotExists("OutgoingWebhooks", "ContentType", "varchar(128)", "varchar(128)", "")
|
||||
s.CreateColumnIfNotExists("OutgoingWebhooks", "TriggerWhen", "tinyint", "tinyint", "0")
|
||||
s.CreateColumnIfNotExists("OutgoingWebhooks", "TriggerWhen", "tinyint", "boolean", "0")
|
||||
}
|
||||
|
||||
func (s SqlWebhookStore) CreateIndexesIfNotExists() {
|
||||
|
||||
Reference in New Issue
Block a user