update:add ci cd files ==> do not edit those file
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const CategoryTagSchema = mongoose.Schema({
|
||||
locale: {
|
||||
fa: {
|
||||
name: String
|
||||
},
|
||||
en: {
|
||||
name: String
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
const ProjectCategorySchema = mongoose.Schema({
|
||||
locale: {
|
||||
fa: {
|
||||
name: String
|
||||
},
|
||||
en: {
|
||||
name: String
|
||||
}
|
||||
},
|
||||
tags: [CategoryTagSchema]
|
||||
})
|
||||
|
||||
module.exports = mongoose.model('ProjectCategory', ProjectCategorySchema)
|
||||
Reference in New Issue
Block a user