@dreesq/serpent
Version:
An express wrapper for developing fast web applications
25 lines (22 loc) • 360 B
JavaScript
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
/**
* Translation model
*/
module.exports = new Schema({
key: {
type: String,
index: true
},
app: {
type: String,
index: true
},
locale: {
type: String,
index: true
},
content: {
type: String
}
});