mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 00:35:56 +00:00
10 lines
352 B
JavaScript
10 lines
352 B
JavaScript
const mongoose = require("mongoose");
|
|
|
|
const shopItemSchema = new mongoose.Schema({
|
|
itemId: { type: String, required: true, unique: true },
|
|
name: { type: String, required: true },
|
|
price: { type: Number, required: true },
|
|
description: { type: String, required: true },
|
|
});
|
|
|
|
module.exports = mongoose.model("ShopItem", shopItemSchema);
|