uLicense/uLicense-1.2.6/dashboard/models/blacklistModel.js
2022-09-15 03:43:05 +01:00

21 lines
307 B
JavaScript

const mongoose = require('mongoose');
const blacklistSchema = new mongoose.Schema(
{
blacklisted: {
type: String,
},
requests: {
type: Number,
default: 0,
},
region: {
type: String,
},
},
{
timestamps: true,
}
);
module.exports = mongoose.model('Blacklist', blacklistSchema);