|
@ -3,5 +3,6 @@ import * as mongoose from 'mongoose'; |
|
|
export const LogsSchema = new mongoose.Schema({ |
|
|
export const LogsSchema = new mongoose.Schema({ |
|
|
drone_id: { type: Number }, |
|
|
drone_id: { type: Number }, |
|
|
gprmc: { type: String }, |
|
|
gprmc: { type: String }, |
|
|
|
|
|
gps_data: { type: Object }, |
|
|
sensorReadings: { type: Object } |
|
|
sensorReadings: { type: Object } |
|
|
}, { timestamps: true }); |
|
|
}, { timestamps: true }); |
|
|