mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-24 17:55:56 +00:00
10 lines
312 B
JavaScript
10 lines
312 B
JavaScript
|
const mongoose = require("mongoose");
|
||
|
|
||
|
const wordAssociationSchema = new mongoose.Schema({
|
||
|
word: { type: String, required: true },
|
||
|
associatedWords: [{ type: String }],
|
||
|
last_updated: { type: Date, default: Date.now },
|
||
|
});
|
||
|
|
||
|
module.exports = mongoose.model("WordAssociation", wordAssociationSchema);
|