akf-forum/models/Ban.js

7 lines
No EOL
166 B
JavaScript

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