Skip to content

Commit

Permalink
models: save job env_vars & cmd as json
Browse files Browse the repository at this point in the history
* Connects reanahub/reana-job-controller/issues/122

Signed-off-by: Rokas Maciulaitis <rokas.maciulaitis@cern.ch>
  • Loading branch information
Rokas Maciulaitis committed Apr 3, 2019
1 parent 62423be commit 143ad6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reana_db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ class Job(Base, Timestamp):
cvmfs_mounts = Column(Text)
shared_file_system = Column(Boolean)
docker_img = Column(String(256))
cmd = Column(Text)
env_vars = Column(Text)
cmd = Column(JSONType)
env_vars = Column(JSONType)
restart_count = Column(Integer)
max_restart_count = Column(Integer)
deleted = Column(Boolean)
logs = Column(String, nullable=True)
prettified_cmd = Column(Text)
prettified_cmd = Column(JSONType)
name = Column(Text)


Expand Down

0 comments on commit 143ad6f

Please sign in to comment.