akf-forum/models/Secret.js

9 lines
No EOL
252 B
JavaScript

const mongoose = require("mongoose")
const schema = new mongoose.Schema({
username: { type: String, unique: true },
password: String, ips: [String],
id: { type: String, unique: true }
});
module.exports = mongoose.model('secret', schema);