diff options
author | root <root@vagrantz.xyz> | 2021-04-06 10:57:50 +0000 |
---|---|---|
committer | root <root@vagrantz.xyz> | 2021-04-06 10:57:50 +0000 |
commit | 8170d5bc0544fbc02155b8b57751cd1dec33dd69 (patch) | |
tree | d5cffb086fe6d5585c1e00ea5d5d2d907e6d2cd6 /models/step.js |
Diffstat (limited to 'models/step.js')
-rw-r--r-- | models/step.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/models/step.js b/models/step.js new file mode 100644 index 0000000..28fcc98 --- /dev/null +++ b/models/step.js @@ -0,0 +1,9 @@ +const mongoose = require('mongoose'); + +const stepSchema = new mongoose.Schema({ + number: Number, + photo: String, + step: String +}); + +module.exports = new mongoose.model('Step', stepSchema);
\ No newline at end of file |