fix: index for arangodb
This commit is contained in:
parent
ec62686fbc
commit
0ffb3f67f1
|
@ -131,7 +131,7 @@ func NewProvider() (*provider, error) {
|
||||||
|
|
||||||
webhookLogCollection, _ := arangodb.Collection(nil, models.Collections.WebhookLog)
|
webhookLogCollection, _ := arangodb.Collection(nil, models.Collections.WebhookLog)
|
||||||
webhookLogCollection.EnsureHashIndex(ctx, []string{"webhook_id"}, &arangoDriver.EnsureHashIndexOptions{
|
webhookLogCollection.EnsureHashIndex(ctx, []string{"webhook_id"}, &arangoDriver.EnsureHashIndexOptions{
|
||||||
Unique: true,
|
Sparse: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
return &provider{
|
return &provider{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user