14 lines
310 B
JavaScript
14 lines
310 B
JavaScript
const mongoose = require("mongoose");
|
|
let hm = new mongoose.Schema({
|
|
id: String,
|
|
name: String,
|
|
description: String,
|
|
owner: String,
|
|
long_description: String,
|
|
tags: [String],
|
|
premium: Boolean,
|
|
icon: String,
|
|
members: String,
|
|
});
|
|
|
|
module.exports = mongoose.model("servers", hm); |