This commit is contained in:
2021-06-21 15:14:16 +02:00
parent 1949f1522d
commit b58acdc0c9
9 changed files with 5 additions and 216 deletions

View File

@@ -1,10 +0,0 @@
const mongoose = require("mongoose");
const paymentSchema = mongoose.Schema({
_id: mongoose.Types.ObjectId,
restaurantId: mongoose.Types.ObjectId,
amount: Number,
months: Number,
});
module.exorts = mongoose.model("Payment", paymentSchema);

View File

@@ -104,9 +104,6 @@ const restaurantSchema = mongoose.Schema({
maxlength: 24
},
hidden: Boolean,
subscriptionActive: Boolean,
subscriptionStarted: Date,
subscriptionDue: Date,
indexed: Date,
categories: [String],
lunchHours: {