1
1
Fork 0
mirror of https://github.com/Akif9748/akf-forum.git synced 2025-07-09 01:10:59 +03:00
akf-forum/models/Secret.js
2022-09-17 00:27:38 +03:00

9 lines
No EOL
252 B
JavaScript

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