update:add ci cd files ==> do not edit those file
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const contactUsSchema = mongoose.Schema({
|
||||
name: String,
|
||||
email: String,
|
||||
subject: String,
|
||||
message: String,
|
||||
locale: {
|
||||
type: String,
|
||||
enum: ['fa', 'en'],
|
||||
default: 'en'
|
||||
},
|
||||
read: {type: Boolean, default: false}
|
||||
})
|
||||
|
||||
|
||||
module.exports = mongoose.model('ContactUs', contactUsSchema)
|
||||
Reference in New Issue
Block a user