akf-forum/models/Secret.js

10 lines
206 B
JavaScript
Raw Normal View History

2022-04-06 21:14:46 +03:00
const { Schema, model } = require("mongoose")
module.exports = model('secret', new Schema({
username: { type: String, unique: true },
password: String,
id: { type: Number, unique: true }
}))