mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-16 17:05:05 +03:00
9 lines
No EOL
256 B
JavaScript
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); |