mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-28 01:00:59 +01:00
feat(forums): init forum topic list page view
This commit is contained in:
@@ -48,6 +48,10 @@ var ScoreSchema = new Schema({
|
||||
* Topic Schema
|
||||
*/
|
||||
var TopicSchema = new Schema({
|
||||
forum: {
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: 'Forum'
|
||||
},
|
||||
user: {
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: 'User'
|
||||
@@ -83,6 +87,10 @@ var TopicSchema = new Schema({
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: 'User'
|
||||
},
|
||||
isTop: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
lastReplyAt: {
|
||||
type: Date
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user