some changes
This commit is contained in:
13
models/reports.js
Normal file
13
models/reports.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const mongoose = require("mongoose");
|
||||
|
||||
const reportSchema = mongoose.Schema({
|
||||
_id: mongoose.Types.ObjectId,
|
||||
date: Date,
|
||||
users: Number,
|
||||
restaurants: Number,
|
||||
subscriptionsActive: Number,
|
||||
subscriptionsCancelled: Number,
|
||||
invoicesSent: Number
|
||||
});
|
||||
|
||||
module.exorts = mongoose.model("Report", reportSchema);
|
||||
Reference in New Issue
Block a user