mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
14 lines
194 B
JavaScript
14 lines
194 B
JavaScript
import { model, Schema } from 'mongoose'
|
|
|
|
const Quest = model(
|
|
'Quest',
|
|
new Schema({
|
|
_id: String,
|
|
title: String,
|
|
order: Number,
|
|
content: String,
|
|
})
|
|
)
|
|
|
|
export default Quest
|