mirror of
https://github.com/SrIzan10/api.git
synced 2026-06-06 00:46:48 +00:00
7 lines
235 B
TypeScript
7 lines
235 B
TypeScript
import { model, Schema, Model } from "mongoose";
|
|
const schema = new Schema({
|
|
timezone: { type: String, required: true },
|
|
userid: { type: String, required: true }
|
|
});
|
|
const db = model('sern-timezones', schema)
|
|
export default db; |