This commit is contained in:
Ordis 2025-01-31 10:53:13 +01:00
parent 877c693d01
commit cdc9493b40

View File

@ -85,16 +85,19 @@ const messageSchema = new Schema<IMessageDatabase>(
startDate: Date, startDate: Date,
endDate: Date, endDate: Date,
r: Boolean, r: Boolean,
att: [String], att: { type: [String], default: undefined },
countedAtt: [typeCountSchema], countedAtt: { type: [typeCountSchema], default: undefined },
transmission: String, transmission: String,
arg: [ arg: {
type: [
{ {
Key: String, Key: String,
Tag: String, Tag: String,
_id: false _id: false
} }
] ],
default: undefined
}
}, },
{ timestamps: { createdAt: "date", updatedAt: false }, id: false } { timestamps: { createdAt: "date", updatedAt: false }, id: false }
); );