mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-27 17:49:22 +01:00
chg(tickets): change ticket table field prop
This commit is contained in:
@@ -47,8 +47,9 @@ var MailTicketSchema = new Schema({
|
||||
_replies: [this],
|
||||
|
||||
status: {
|
||||
type: Number,
|
||||
default: 0 //0 open(waiting handling), 1 wait(waiting reply), 2 solved
|
||||
type: String,
|
||||
enum: ['open', 'wait', 'solved'],
|
||||
default: 'open'
|
||||
},
|
||||
createdAt: {
|
||||
type: Date,
|
||||
|
||||
@@ -40,8 +40,9 @@ var MessageTicketSchema = new Schema({
|
||||
_replies: [this],
|
||||
|
||||
status: {
|
||||
type: Number,
|
||||
default: 0 //0 open(waiting handling), 1 wait(waiting reply), 2 solved
|
||||
type: String,
|
||||
enum: ['open', 'wait', 'solved'],
|
||||
default: 'open'
|
||||
},
|
||||
createdAt: {
|
||||
type: Date,
|
||||
|
||||
Reference in New Issue
Block a user