Skip to content

Instantly share code, notes, and snippets.

@Horaddrim
Created August 11, 2017 20:02
Show Gist options
  • Save Horaddrim/06fd21bfdd3c35ce8c9b4a8761b76c5a to your computer and use it in GitHub Desktop.
Save Horaddrim/06fd21bfdd3c35ce8c9b4a8761b76c5a to your computer and use it in GitHub Desktop.
:D
const mongoose = require('mongoose');
let Schema = mongoose.Schema;
const PatiosSchema = new Schema({
IdPatio: Number,
NomPatio: String,
IndExclusao: String
});
const patiosSchema = mongoose.model('Block',PatiosSchema);
module.exports = patiosSchema;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment