1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

Added files

This commit is contained in:
2015-06-25 16:28:41 -05:00
parent 656dca9289
commit eb27b55a54
5621 changed files with 1630154 additions and 0 deletions

12
models/currentdata.js Normal file
View File

@@ -0,0 +1,12 @@
var mongoose = require('mongoose');
var currentdataSchema = new mongoose.Schema({
number: String,
date: Date,
time: String,
message: String,
updated: {type: Date, default: Date.now}
});
mongoose.model('currentdata', currentdataSchema);

12
models/olddata.js Normal file
View File

@@ -0,0 +1,12 @@
var mongoose = require('mongoose');
var olddataSchema = new mongoose.Schema({
number: String,
date: Date,
time: String,
message: String,
updated: {type: Date, default: Date.now}
});
mongoose.model('olddata', olddataSchema);