Making fbId unique
This commit is contained in:
1 parent
8f690d5f5b
commit
d6657a4a5d
1 file changed
+2
@@ -4,6 +4,8 @@ const strategySchema = new Schema({
|
||||
fbId: {
|
||||
type: String,
|
||||
required: true,
|
||||
unique: true,
|
||||
dropDups: true,
|
||||
},
|
||||
subStrategies: [{
|
||||
name: {
|
||||
|
||||
Reference in new issue
Block a user