Update db index for outgoing webhook

Этот коммит содержится в:
JoramWilander
2015-10-19 11:12:40 -04:00
родитель a3ca106740
Коммит c7d00de682

Просмотреть файл

@@ -40,7 +40,7 @@ func (s SqlWebhookStore) UpgradeSchemaIfNeeded() {
func (s SqlWebhookStore) CreateIndexesIfNotExists() {
s.CreateIndexIfNotExists("idx_incoming_webhook_user_id", "IncomingWebhooks", "UserId")
s.CreateIndexIfNotExists("idx_incoming_webhook_team_id", "IncomingWebhooks", "TeamId")
s.CreateIndexIfNotExists("idx_outgoing_webhook_channel_id", "OutgoingWebhooks", "ChannelId")
s.CreateIndexIfNotExists("idx_outgoing_webhook_team_id", "OutgoingWebhooks", "TeamId")
}
func (s SqlWebhookStore) SaveIncoming(webhook *model.IncomingWebhook) StoreChannel {