Add notes field to client and probe tables
This commit is contained in:
parent
152ea26c02
commit
30a0f98e1d
2 changed files with 47 additions and 0 deletions
|
@ -60,6 +60,10 @@ class Client(Base):
|
|||
not set, a default of 60 seconds will be assumed.
|
||||
""")
|
||||
|
||||
notes = sa.Column(sa.Text(), nullable=True, doc="""
|
||||
Any arbitrary notes for the client.
|
||||
""")
|
||||
|
||||
enabled = sa.Column(sa.Boolean(), nullable=False, default=False)
|
||||
online = sa.Column(sa.Boolean(), nullable=False, default=False)
|
||||
|
||||
|
@ -117,6 +121,10 @@ class Probe(Base):
|
|||
therm_status_timeout = sa.Column(sa.Integer(), nullable=False)
|
||||
status_alert_timeout = sa.Column(sa.Integer(), nullable=False)
|
||||
|
||||
notes = sa.Column(sa.Text(), nullable=True, doc="""
|
||||
Any arbitrary notes for the probe.
|
||||
""")
|
||||
|
||||
status = sa.Column(sa.Integer(), nullable=True)
|
||||
status_changed = sa.Column(sa.DateTime(), nullable=True)
|
||||
status_alert_sent = sa.Column(sa.DateTime(), nullable=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue