mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 00:35:56 +00:00
10 lines
309 B
JavaScript
10 lines
309 B
JavaScript
|
const mongoose = require("mongoose");
|
||
|
|
||
|
const scrambledWordSchema = new mongoose.Schema({
|
||
|
word: { type: String, required: true },
|
||
|
scrambled: { type: String, required: true },
|
||
|
created_at: { type: Date, required: true },
|
||
|
});
|
||
|
|
||
|
module.exports = mongoose.model("ScrambledWord", scrambledWordSchema);
|