mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-23 02:55:13 -04:00
087919a5f8
GitOrigin-RevId: ad9f3e81da37bd932822f13db441ce8afc342eea
15 lines
338 B
JavaScript
15 lines
338 B
JavaScript
const mongoose = require('../infrastructure/Mongoose')
|
|
const { Schema } = mongoose
|
|
|
|
const SamlCacheSchema = new Schema(
|
|
{
|
|
createdAt: { type: Date },
|
|
requestId: { type: String }
|
|
},
|
|
{
|
|
collection: 'samlCache'
|
|
}
|
|
)
|
|
|
|
exports.SamlCache = mongoose.model('SamlCache', SamlCacheSchema)
|
|
exports.SamlCacheSchema = SamlCacheSchema
|