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