update:add ci cd files ==> do not edit those file

This commit is contained in:
mahyargdz
2024-10-10 21:49:00 +03:30
parent 6fe34708a2
commit 8cf0492c87
464 changed files with 79533 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const mongoose = require('mongoose')
function file(file) {
if (file) return '/uploads/images/setting/' + file
}
const SiteSettingSchema = mongoose.Schema({
aboutUS: {type: String, get: file, default: 'undefined'},
activity: {type: String, get: file, default: ''},
projects: {type: String, get: file, default: ''},
gallery: {type: String, get: file, default: ''},
catalog: {type: String, get: file, default: ''},
blogs: {type: String, get: file, default: ''},
})
module.exports = mongoose.model('SiteSetting', SiteSettingSchema)