Renamed: reference_id -> sub_level_id
This commit is contained in:
@@ -30,7 +30,7 @@ const schema = new mongoose.Schema(
|
|||||||
min: 1, // Level is at 0
|
min: 1, // Level is at 0
|
||||||
max: 5,
|
max: 5,
|
||||||
},
|
},
|
||||||
reference_id: {
|
sub_level_id: {
|
||||||
required: true,
|
required: true,
|
||||||
type: mongoose.Schema.Types.ObjectId,
|
type: mongoose.Schema.Types.ObjectId,
|
||||||
ref: "Sublevel",
|
ref: "Sublevel",
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ const schema = new mongoose.Schema(
|
|||||||
min: 1, // Level is at 0
|
min: 1, // Level is at 0
|
||||||
max: 5,
|
max: 5,
|
||||||
},
|
},
|
||||||
reference_id: {
|
sub_level_id: {
|
||||||
required: true,
|
required: true,
|
||||||
type: mongoose.Schema.Types.ObjectId,
|
type: mongoose.Schema.Types.ObjectId,
|
||||||
ref: "Sublevel",
|
ref: "Sublevel",
|
||||||
|
|||||||
Reference in New Issue
Block a user