Browse Source

feat: Add logs schema

Co-authored-by: Iro Athina Valagouti <iro_valagouti@yahoo.gr>
master
Konstantinos Kamaropoulos 5 years ago
parent
commit
55b1f309e0
  1. 7
      src/schemas/logs.schema.ts

7
src/schemas/logs.schema.ts

@ -0,0 +1,7 @@
import * as mongoose from 'mongoose';
export const LogsSchema = new mongoose.Schema({
drone_id: { type: Number },
gprmc: { type: String },
sensorReadings: { type: Object }
}, { timestamps: true });
Loading…
Cancel
Save