mirror of
https://github.com/SrIzan10/api.git
synced 2026-06-06 00:46:48 +00:00
9 lines
320 B
TypeScript
9 lines
320 B
TypeScript
import { model, Schema, Model } from "mongoose";
|
|
const schema = new Schema({
|
|
text: { type: String, required: true },
|
|
username: { type: String, required: true },
|
|
guild: { type: String, required: true },
|
|
msgid: { type: String, required: true }
|
|
});
|
|
const db = model('transcripts', schema)
|
|
export default db; |