This commit is contained in:
Mr Swift
2024-08-05 14:42:17 +03:30
parent 01e0dc8a5a
commit 0af5e77bdb
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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