summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgengchc2 <geng.changcai2@zte.com.cn>2019-02-14 18:03:29 -0800
committergengchc2 <geng.changcai2@zte.com.cn>2019-02-14 18:03:29 -0800
commit5e60886b08da3ba95fb0926e0e0c75f99087e7ad (patch)
treed4819176cf9eb7835019eb598d1e2dc293e69abb
parentc6b4c277236b547bd7807dd6ebf753e8cffce72a (diff)
Fix session_tag type in job tableHEADmaster
Notes
Notes (review): Code-Review+2: gecong <ge.cong@zte.com.cn> Workflow+1: gecong <ge.cong@zte.com.cn> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 15 Feb 2019 05:00:32 +0000 Reviewed-on: https://review.openstack.org/637110 Project: openstack/freezer-api Branch: refs/heads/master
-rw-r--r--freezer_api/db/sqlalchemy/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/freezer_api/db/sqlalchemy/models.py b/freezer_api/db/sqlalchemy/models.py
index cd6dafe..d011cb5 100644
--- a/freezer_api/db/sqlalchemy/models.py
+++ b/freezer_api/db/sqlalchemy/models.py
@@ -122,7 +122,7 @@ class Job(BASE, FreezerBase):
122 schedule = Column(Text) 122 schedule = Column(Text)
123 client_id = Column(String(255), ForeignKey('clients.id'), nullable=False) 123 client_id = Column(String(255), ForeignKey('clients.id'), nullable=False)
124 session_id = Column(String(36), ForeignKey('sessions.id'), nullable=False) 124 session_id = Column(String(36), ForeignKey('sessions.id'), nullable=False)
125 session_tag = Column(String(255)) 125 session_tag = Column(Integer, default=0)
126 description = Column(String(255)) 126 description = Column(String(255))
127 job_actions = Column(Text) 127 job_actions = Column(Text)
128 client = relationship(Client, backref='jobs', 128 client = relationship(Client, backref='jobs',