Skip to content

Commit d82b5e0

Browse files
committed
first commit
0 parents  commit d82b5e0

28 files changed

+2010
-0
lines changed

models/detail.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
var mongoose = require('mongoose');
2+
var Schema = mongoose.Schema;
3+
4+
detailSchema = new Schema( {
5+
unique_id:Number,
6+
Name: String,
7+
image1:String,
8+
image2:String,
9+
image3:String,
10+
added_date:{
11+
type: Date,
12+
default: Date.now
13+
}
14+
}),
15+
Detail = mongoose.model('Detail', detailSchema);
16+
17+
module.exports = Detail;

0 commit comments

Comments
 (0)