transfer project in github
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
const mongoose = require('mongoose')
|
||||
const mongoosePaginate = require('mongoose-paginate-v2');
|
||||
|
||||
const subscribersSchema = mongoose.Schema({
|
||||
full_name: String,
|
||||
birth_date: String,
|
||||
job: String,
|
||||
marrage_date: String,
|
||||
email: String,
|
||||
mobile: String,
|
||||
address: String
|
||||
})
|
||||
|
||||
subscribersSchema.plugin(mongoosePaginate);
|
||||
|
||||
module.exports = mongoose.model('Subscribers', subscribersSchema)
|
||||
Reference in New Issue
Block a user