dyno-bot/Dyno-datafactory-develop/models/OwUser.js
2020-09-12 19:08:48 +01:00

14 lines
372 B
JavaScript

'use strict';
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const owUserSchema = new Schema({
user: { type: String, required: true, unique: true },
username: { type: String, required: true },
discrim: { type: String, required: true },
platform: { type: String, required: true },
});
module.exports = { name: 'OwUser', schema: owUserSchema }