Add teamID to maintenance-window
This commit is contained in:
1 parent
47e051c2bb
commit
8e87bdccd0
3 files changed
+9
-5
No files matched your search
@@ -34,9 +34,9 @@ const MaintenanceWindow = mongoose.Schema(
|
||||
ref: "Monitor",
|
||||
immutable: true,
|
||||
},
|
||||
userId: {
|
||||
teamId: {
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: "User",
|
||||
ref: "Team",
|
||||
immutable: true,
|
||||
},
|
||||
active: {
|
||||
|
||||
Reference in new issue
Block a user