mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-10 04:40:46 -05:00
11 lines
310 B
JavaScript
11 lines
310 B
JavaScript
const mongoose = require("mongoose")
|
|
|
|
const linkSchema = new mongoose.Schema({
|
|
title: { type: String, required: true },
|
|
url: { type: String, required: true },
|
|
description: { type: String, required: true },
|
|
type: { type: String, required: true },
|
|
})
|
|
|
|
module.exports = mongoose.model("Link", linkSchema)
|