mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
Create session
This commit is contained in:
1 parent
5e8115be11
commit
237d6d5797
2 files changed
+5
-4
No files matched your search
@@ -4,8 +4,6 @@ const Session = model(
|
||||
'Session',
|
||||
new Schema(
|
||||
{
|
||||
name: String,
|
||||
containerId: String,
|
||||
user: {
|
||||
type: Schema.ObjectId,
|
||||
ref: 'User',
|
||||
@@ -14,6 +12,7 @@ const Session = model(
|
||||
type: Schema.ObjectId,
|
||||
ref: 'Quest',
|
||||
},
|
||||
containerId: String,
|
||||
finishedAt: Date,
|
||||
terminals: [String],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user