Skip to content

Commit

Permalink
models: add field job_backend_id
Browse files Browse the repository at this point in the history
* job_backend_id stores job id for a specific backend
  (K8s, HTCondor, Slurm and etc.)
  Connects reanahub/reana-job-controller/issues/118

Signed-off-by: Rokas Maciulaitis <[email protected]>
  • Loading branch information
Rokas Maciulaitis committed Mar 29, 2019
1 parent a071ae7 commit 219e026
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reana_db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ class Job(Base, Timestamp):

id_ = Column(UUIDType, unique=True, primary_key=True,
default=generate_uuid)
backend_job_id = Column(String(256))
workflow_uuid = Column(UUIDType)
status = Column(String(30))
backend = Column(String(30))
Expand Down

0 comments on commit 219e026

Please sign in to comment.