personal_website/models/userModel.ts
2024-07-16 14:52:26 +02:00

14 lines
283 B
TypeScript

import mongoose, { Schema } from 'mongoose';
const userSchema = new Schema({
'pass': String,
'omdb_key': String,
'twitch_client_id': String,
'twitch_client_secret': String,
'mac_address': String,
});
const User = mongoose.model('user', userSchema);
export default User;