Skip to content
Snippets Groups Projects
Commit d2921d7b authored by Rudolf Copi Eckelberg's avatar Rudolf Copi Eckelberg
Browse files

First raw version of a simulation model

parent 1b8d0646
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!25Auth
const mongoose = require('mongoose');
const libs = `${process.cwd()}/libs`;
const log = require(`${libs}/log`)(module);
const Schema = mongoose.Schema;
// set up a mongoose model
var SimulationSchema = new Schema({
location: {
type: Number,
required: true
},
time: {
type: Number,
required: true
}
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment