alerts: per-support-team webhook + printedparts routing
This commit is contained in:
@@ -17,6 +17,9 @@ class SupportTeam(BaseModel):
|
||||
supportteamid = db.Column(db.Integer, primary_key=True)
|
||||
teamname = db.Column(db.String(100), unique=True, nullable=False)
|
||||
teamurl = db.Column(db.Text) # ServiceNow group deep link, nullable
|
||||
# Teams (or other) webhook this team receives alerts on; alerting plugins
|
||||
# route to it by selecting this team. Nullable = no webhook for this team.
|
||||
webhookurl = db.Column(db.Text)
|
||||
|
||||
# Contacts cascade-delete with the team.
|
||||
contacts = db.relationship(
|
||||
|
||||
Reference in New Issue
Block a user