mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
feat: add UserProfile collection, create on login
* add progress
This commit is contained in:
1 parent
e981bff3bb
commit
45f12acbd9
5 files changed
+75
-22
No files matched your search
@@ -4,6 +4,7 @@ export { default as User } from './user.js'
|
||||
export { default as Quest } from './quest.js'
|
||||
export { default as Session } from './session.js'
|
||||
export { default as Command } from './command.js'
|
||||
export { default as UserProfile } from './userProfile.js'
|
||||
|
||||
export default async function connectDB(uri) {
|
||||
const db = await mongoose.connect(uri, {
|
||||
|
||||
Reference in new issue
Block a user