Edit
This commit is contained in:
@@ -9,7 +9,7 @@ const deviceSchema = mongoose.Schema({
|
|||||||
status:{
|
status:{
|
||||||
type:Number,
|
type:Number,
|
||||||
enum:[
|
enum:[
|
||||||
0, // new
|
0, // not installed
|
||||||
1 // installed
|
1 // installed
|
||||||
],
|
],
|
||||||
default:0
|
default:0
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ const UserSchema = mongoose.Schema({
|
|||||||
shopNumber:String,
|
shopNumber:String,
|
||||||
shopAddress:String,
|
shopAddress:String,
|
||||||
birthDate:String,
|
birthDate:String,
|
||||||
|
walletBalance:String,
|
||||||
|
|
||||||
|
|
||||||
/// //////////////////////////////// user confirmations
|
/// //////////////////////////////// user confirmations
|
||||||
|
|||||||
Reference in New Issue
Block a user