13 lines
287 B
JavaScript
13 lines
287 B
JavaScript
const mongoose = require('mongoose');
|
|
const Schema = mongoose.Schema;
|
|
|
|
const rawCameraDataSchema = new Schema({
|
|
'location_id': Number,
|
|
'camera_id': Number,
|
|
'date': Date,
|
|
'car_count': Number,
|
|
'hour': Number
|
|
});
|
|
|
|
module.exports = mongoose.model('rawCameraData', rawCameraDataSchema);
|