mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-16 07:56:22 -05:00
11 lines
313 B
JavaScript
11 lines
313 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);
|