feat(v1:vehicles): Adding vehicle field company_name

This commit is contained in:
Josepablo C
2024-08-16 20:52:00 -06:00
parent cb35a6dd14
commit 593d6f6143
2 changed files with 10 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ const pointSchema = new Schema({
const schema = new Schema({
company: { type: Schema.Types.ObjectId, ref: 'companies', required: true }, // carrier
company_name : { type: String },
vehicle_code: { type: String },
vehicle_name: { type: String },