added missing file
This commit is contained in:
parent
061234b301
commit
fcb2524c97
19
models/TrackData.js
Normal file
19
models/TrackData.js
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
var mongoose = require('mongoose');
|
||||||
|
|
||||||
|
var TrackDataSchema = new mongoose.Schema({
|
||||||
|
//Date;Time;Latitude;Longitude;Course;Speed;Right;Left;Confirmed;insidePrivacyArea
|
||||||
|
points: [ {
|
||||||
|
date: String,
|
||||||
|
time : String,
|
||||||
|
latitude: Number,
|
||||||
|
longitude: Number,
|
||||||
|
course: Number,
|
||||||
|
speed: Number,
|
||||||
|
d1: Number,
|
||||||
|
d2: Number,
|
||||||
|
flag: Number,
|
||||||
|
private: Number
|
||||||
|
}]
|
||||||
|
}, {timestamps: true});
|
||||||
|
|
||||||
|
mongoose.model('TrackData', TrackDataSchema);
|
Loading…
Reference in a new issue