mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-26 13:20:41 +03:00
7 lines
No EOL
166 B
JavaScript
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); |