personal_website/models/userModel.js
2023-07-06 23:50:39 +02:00

9 lines
201 B
JavaScript

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