initial commit

This commit is contained in:
arashsheyda
2023-04-15 23:10:39 +03:00
commit 2ef1074ffa
21 changed files with 7442 additions and 0 deletions

View File

@ -0,0 +1,18 @@
import { defineMongooseModel } from '#nuxt/mongoose'
export const User = defineMongooseModel({
name: 'User',
schema: {
name: {
type: String,
required: true,
},
},
})
// export const User = defineMongooseModel('User', {
// name: {
// type: String,
// required: true,
// },
// })