mirror of
https://github.com/foomo/shop.git
synced 2025-10-16 12:35:39 +00:00
ensure mongo collection index on customer persistor
index id not unique
This commit is contained in:
parent
ec12b144a4
commit
a077cfbb58
@ -30,7 +30,7 @@ var (
|
||||
mgo.Index{
|
||||
Name: "id",
|
||||
Key: []string{"id"},
|
||||
Unique: true,
|
||||
Unique: false,
|
||||
Background: true,
|
||||
},
|
||||
mgo.Index{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user