fix: index for arangodb

This commit is contained in:
Lakhan Samani 2022-07-08 19:10:37 +05:30
parent ec62686fbc
commit 0ffb3f67f1

View File

@ -131,7 +131,7 @@ func NewProvider() (*provider, error) {
webhookLogCollection, _ := arangodb.Collection(nil, models.Collections.WebhookLog)
webhookLogCollection.EnsureHashIndex(ctx, []string{"webhook_id"}, &arangoDriver.EnsureHashIndexOptions{
Unique: true,
Sparse: true,
})
return &provider{