front-end almost done | started back-end
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const ContactPageMessageSchema = mongoose.Schema({
|
||||
first_name: String,
|
||||
last_name: String,
|
||||
phone_number: String,
|
||||
email: String,
|
||||
message: String,
|
||||
user_id: String,
|
||||
read: {type: Boolean, default: false},
|
||||
created_at: String
|
||||
})
|
||||
|
||||
module.exports = mongoose.model('ContactPageMessage', ContactPageMessageSchema)
|
||||
Reference in New Issue
Block a user