personal_website/models/userModel.js
Nikola Petrov f240d4e7c5 format
2023-08-02 14:27:35 +02:00

9 lines
197 B
JavaScript

var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var userSchema = new Schema({
'pass': String,
'key': String,
});
module.exports = mongoose.model('user', userSchema);