const { Schema } = require('mongoose'); module.exports = new Schema({ username: { type: String, unique: true, required: true }, password: { type: String, required: true } }, { timestamps: true });