Skip to content

Commit

Permalink
update model
Browse files Browse the repository at this point in the history
  • Loading branch information
khaihkd committed Jul 23, 2018
1 parent 0735bdb commit 5974a28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions models/mongodb/block.js
Expand Up @@ -23,6 +23,9 @@ const Block = new Schema({
},
timestamp: {
type: Number
},
isProcess: {
type: Boolean
}
}, { timestamps: false })

Expand Down
3 changes: 3 additions & 0 deletions models/mongodb/transaction.js
Expand Up @@ -22,6 +22,9 @@ const Transaction = new Schema({
},
tokenAmount: {
type: Number
},
isProcess: {
type: Boolean
}
}, { timestamps: false })

Expand Down

0 comments on commit 5974a28

Please sign in to comment.