Commit 153016f2 authored by 陈家荣's avatar 陈家荣

修改字段

parent 16764b91
......@@ -3,7 +3,7 @@
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
//话题广场,板块
var ForumInfoSchema = new Schema({
var ForumModeratorApplySchema = new Schema({
ent_code: {
type: Number,
require: true,
......@@ -41,8 +41,8 @@ var ForumInfoSchema = new Schema({
default: Date.now
}
}, {
'collection': 'pisns_forum_info'
'collection': 'pisns_forum_moderator_apply'
});
module.exports = mongoose.model('ForumInfo', ForumInfoSchema);
module.exports = mongoose.model('ForumModeratorApply', ForumModeratorApplySchema);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment