1
1
Fork 0
mirror of https://github.com/Akif9748/akf-forum.git synced 2025-07-08 17:10:59 +03:00
akf-forum/models/Ban.js

9 lines
No EOL
256 B
JavaScript

const mongoose = require("mongoose")
const schema = new mongoose.Schema({
ip: { type: String, unique: true },
reason: { type: String, default: "No reason given" },
authorID: { type: String }
});
module.exports = mongoose.model('ban', schema);