11 lines
268 B
JavaScript
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); |