June

Modify repeat

This diff is collapsed. Click to expand it.
1 +const mongoose=require('mongoose');
2 +
3 +const userSchema=mongoose.Schema({
4 + krw_balance:{
5 + type:Number,
6 + },
7 + market:{
8 + type:String,
9 + },
10 + count:{
11 + type:Number,
12 + },
13 + avg_buy_price:{
14 + type:Number
15 + }
16 +})
17 +
18 +const User=mongoose.model("User",userSchema);
19 +module.exports={User};
...\ No newline at end of file ...\ No newline at end of file