ibrohm's picture
Initial deploy via assistant API
7b3aac2 verified
raw
history blame contribute delete
393 Bytes
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);