akf-forum/models/Ban.js

7 lines
166 B
JavaScript
Raw Normal View History

2022-08-29 19:31:59 +03:00
const mongoose = require("mongoose")
const schema = new mongoose.Schema({
ip: { type: String, unique: true }
});
module.exports = mongoose.model('ban', schema);