This commit is contained in:
Paolo Arena
2022-04-24 17:02:10 +02:00
parent f39639d5f2
commit 5139d321b5

View File

@@ -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,
},