front-end almost done | started back-end
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const BlogCategorySchema = mongoose.Schema({
|
||||
blogCategory_details: {
|
||||
fa: {
|
||||
name: String
|
||||
},
|
||||
en: {
|
||||
name: String
|
||||
},
|
||||
de: {
|
||||
name: String
|
||||
},
|
||||
tr: {
|
||||
name: String
|
||||
},
|
||||
it: {
|
||||
name: String
|
||||
}
|
||||
},
|
||||
created_at: String,
|
||||
updated_at: String
|
||||
})
|
||||
|
||||
module.exports = mongoose.model('BlogCategory', BlogCategorySchema)
|
||||
Reference in New Issue
Block a user