mirror of https://github.com/veops/cmdb.git
model: allow origin and ticket_id nullable in OperationRecord
This commit is contained in:
parent
f40d6924aa
commit
a1e510d812
|
@ -266,8 +266,8 @@ class OperationRecord(Model):
|
|||
__tablename__ = "c_records"
|
||||
|
||||
uid = db.Column(db.Integer, index=True, nullable=False)
|
||||
origin = db.Column(db.String(32), nullable=False)
|
||||
ticket_id = db.Column(db.String(32), nullable=False)
|
||||
origin = db.Column(db.String(32), nullable=True)
|
||||
ticket_id = db.Column(db.String(32), nullable=True)
|
||||
reason = db.Column(db.Text)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue