Spaces:
Sleeping
Sleeping
File size: 393 Bytes
7b3aac2 | 1 2 3 4 5 6 7 8 9 10 11 | const mongoose = require('mongoose');
const settingsSchema = new mongoose.Schema({
key: { type: String, default: 'global', unique: true },
storeAddress: { type: String, default: '' },
mapEmbedUrl: { type: String, default: '' },
adminPassword: { type: String, default: 'admin' }
}, { timestamps: true });
module.exports = mongoose.model('Settings', settingsSchema);
|