mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 18:32:50 +00:00
Added all files
This commit is contained in:
11
models/information.js
Normal file
11
models/information.js
Normal file
@@ -0,0 +1,11 @@
|
||||
var mongoose = require('mongoose');
|
||||
|
||||
var infoSchema = new mongoose.Schema({
|
||||
number: Number,
|
||||
date: Number,
|
||||
time: Number,
|
||||
message: String
|
||||
});
|
||||
|
||||
|
||||
mongoose.model('info', infoSchema);
|
||||
Reference in New Issue
Block a user