mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
15 lines
283 B
JavaScript
15 lines
283 B
JavaScript
import { Schema } from 'mongoose'
|
|
import exceptionSchema from './exception.js'
|
|
|
|
const stageExceptionSchema = new Schema({
|
|
catchAll: {
|
|
type: Boolean,
|
|
required: true,
|
|
default: false,
|
|
},
|
|
})
|
|
|
|
stageExceptionSchema.add(exceptionSchema)
|
|
|
|
export default stageExceptionSchema
|