small fixes
This commit is contained in:
@ -4,7 +4,7 @@ import db from '../db';
|
||||
const ModelSchema = new mongoose.Schema({
|
||||
group: {type: String, index: {unique: true}},
|
||||
models: [new mongoose.Schema({
|
||||
name: {type: String, index: {unique: true}},
|
||||
name: String,
|
||||
url: String,
|
||||
label: String
|
||||
} ,{ _id : false })]
|
||||
|
Reference in New Issue
Block a user