personal_website/models/userModel.js
2023-08-02 18:28:58 +02:00

11 lines
249 B
JavaScript

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