Showing
3 changed files
with
6 additions
and
2 deletions
This diff is collapsed. Click to expand it.
| ... | @@ -20,7 +20,11 @@ const coinSchema=mongoose.Schema({ | ... | @@ -20,7 +20,11 @@ const coinSchema=mongoose.Schema({ |
| 20 | type:Number, | 20 | type:Number, |
| 21 | required:true | 21 | required:true |
| 22 | }, | 22 | }, |
| 23 | - count:{ | 23 | + up_count:{ |
| 24 | + type:Number, | ||
| 25 | + default:0 | ||
| 26 | + }, | ||
| 27 | + down_count:{ | ||
| 24 | type:Number, | 28 | type:Number, |
| 25 | default:0 | 29 | default:0 |
| 26 | } | 30 | } | ... | ... |
-
Please register or login to post a comment