akf-forum/models/Secret.js

12 lines
230 B
JavaScript
Raw Normal View History

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