InfiniteScroll
Circuits
This commit is contained in:
@@ -18,6 +18,9 @@ const CircuitSchema = new Schema({
|
||||
type: Number,
|
||||
unique: true,
|
||||
},
|
||||
groupnameId: {
|
||||
type: String,
|
||||
},
|
||||
name: {
|
||||
type: String,
|
||||
unique: true,
|
||||
@@ -25,7 +28,7 @@ const CircuitSchema = new Schema({
|
||||
subname: {
|
||||
type: String,
|
||||
},
|
||||
descr: {
|
||||
longdescr: {
|
||||
type: String,
|
||||
},
|
||||
systemUserDescr: {
|
||||
|
||||
@@ -110,6 +110,11 @@ const MyGroupSchema = new Schema({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
circuits_list: [
|
||||
{
|
||||
Num: { type: Number },
|
||||
inscription_date: {type: Date},
|
||||
}],
|
||||
});
|
||||
|
||||
MyGroupSchema.statics.getFieldsForSearch = function() {
|
||||
|
||||
Reference in New Issue
Block a user