Skip to content
Snippets Groups Projects
Commit 3d7eb8ce authored by Martin Lehoux's avatar Martin Lehoux
Browse files

back

parent d58c70d0
Branches
No related tags found
No related merge requests found
const mongoose = require('mongoose');
const Character = new mongoose.Schema({
name: String,
level: Number,
});
module.exports = mongoose.model('Character', Character);
\ No newline at end of file
File moved
{
"dependencies": {
"eslint": "^5.13.0",
"mongoose": "^5.4.11"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment