Removed useless unique fields on PNID model

This commit is contained in:
Jonathan Barrow
2023-06-15 14:55:13 -04:00
parent e408189f77
commit 70a00bb139

View File

@@ -62,10 +62,7 @@ const PNIDSchema = new Schema<IPNID, PNIDModel, IPNIDMethods>({
reachable: Boolean,
validated: Boolean,
validated_date: String,
id: {
type: Number,
unique: true
}
id: Number
},
region: Number,
timezone: {
@@ -76,19 +73,10 @@ const PNIDSchema = new Schema<IPNID, PNIDModel, IPNIDMethods>({
name: String,
primary: Boolean,
data: String,
id: {
type: Number,
unique: true
},
hash: {
type: String,
unique: true
},
id: Number,
hash: String,
image_url: String,
image_id: {
type: Number,
unique: true
},
image_id: Number,
},
flags: {
active: Boolean,