ensure mongo collection index on customer persistor

index id not unique
This commit is contained in:
Frederik Löffert 2018-07-18 01:07:17 +02:00 committed by GitHub
parent ec12b144a4
commit a077cfbb58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ var (
mgo.Index{
Name: "id",
Key: []string{"id"},
Unique: true,
Unique: false,
Background: true,
},
mgo.Index{