Fix session_tag type in job table

Change-Id: I5ba130cb7c54c4999ec8985d90c567336b8c4a68
This commit is contained in:
gengchc2 2019-02-14 18:03:29 -08:00
parent c6b4c27723
commit 5e60886b08

View File

@ -122,7 +122,7 @@ class Job(BASE, FreezerBase):
schedule = Column(Text)
client_id = Column(String(255), ForeignKey('clients.id'), nullable=False)
session_id = Column(String(36), ForeignKey('sessions.id'), nullable=False)
session_tag = Column(String(255))
session_tag = Column(Integer, default=0)
description = Column(String(255))
job_actions = Column(Text)
client = relationship(Client, backref='jobs',