remove restaurant / changed add user

This commit is contained in:
2020-09-16 09:30:31 +02:00
parent cec24fa01a
commit a5232e7257
6 changed files with 121 additions and 20 deletions

View File

@@ -18,6 +18,20 @@ const userSchema = mongoose.Schema({
type: String,
required: true,
},
billing: {
NIP: {
type: String,
required: true,
},
adress: {
type: String,
required: true,
},
companyName: {
type: String,
required: true,
},
},
restaurants: [mongoose.Types.ObjectId],
trialUsed: Boolean,
});