mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-01-27 17:41:39 +00:00
added article
This commit is contained in:
6
test/data/models/article.js
Normal file
6
test/data/models/article.js
Normal file
@@ -0,0 +1,6 @@
|
||||
var mongoose = require('mongoose');
|
||||
var ArticleSchema = require('../schemas/article');
|
||||
|
||||
var Article = mongoose.model('Article', ArticleSchema);
|
||||
|
||||
module.exports = Article;
|
||||
Reference in New Issue
Block a user