circuito
This commit is contained in:
@@ -16,11 +16,13 @@ mongoose.plugin(schema => {
|
||||
const CircuitSchema = new Schema({
|
||||
_id: {
|
||||
type: Number,
|
||||
unique: true,
|
||||
},
|
||||
nome_circuito: {
|
||||
name: {
|
||||
type: String,
|
||||
unique: true,
|
||||
},
|
||||
sotto_nome: {
|
||||
subname: {
|
||||
type: String,
|
||||
},
|
||||
descr: {
|
||||
@@ -45,11 +47,11 @@ const CircuitSchema = new Schema({
|
||||
type: String,
|
||||
maxlength: 20,
|
||||
},
|
||||
simbolo: {
|
||||
symbol: {
|
||||
type: String,
|
||||
maxlength: 3,
|
||||
},
|
||||
sigla: {
|
||||
abbrev: {
|
||||
type: String,
|
||||
maxlength: 3,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user