Create session

This commit is contained in:
wancat committed 2023-07-20 15:54:27 +08:00
1 parent 5e8115be11
commit 237d6d5797
2 files changed
+5 -4

No files matched your search

+1 -2
View File
@@ -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],
},