Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var mongoose = require('mongoose');
- var Schema = mongoose.Schema;
- var DesaSchema = new Schema(
- {
- nama: {type: String, required: true}
- }
- );
- //Export model
- module.exports = mongoose.model('Desa', DesaSchema);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement