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