mirror of
https://github.com/SrIzan10/femboybot.git
synced 2026-06-06 00:56:50 +00:00
12 lines
297 B
TypeScript
12 lines
297 B
TypeScript
import { model, Schema } from "mongoose";
|
|
|
|
const schema = new Schema({
|
|
authorid: {type: String, required: true},
|
|
channelid: {type: String, required: true},
|
|
msgid: {type: String, required: true}
|
|
})
|
|
|
|
// @ts-ignore
|
|
const db = new model('highlights', schema)
|
|
|
|
export default db; |