personal_website/models/userModel.js
2023-09-23 17:11:24 +02:00

11 lines
268 B
JavaScript

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