Skip to content

Commit

Permalink
Merge pull request #102 from simon-mazenoux/feat-add-vo-column-in-job…
Browse files Browse the repository at this point in the history
…s-db

Add vo column in jobs db
  • Loading branch information
chrisburr authored Oct 10, 2023
2 parents 690723b + 8e5408b commit e06422a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/diracx/db/sql/jobs/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ async def insert(
"SubmissionTime": datetime.now(tz=timezone.utc),
"Owner": owner,
"OwnerGroup": owner_group,
"VO": vo,
}

jobManifest = returnValueOrRaise(checkAndAddOwner(jdl, owner, owner_group))
Expand Down
1 change: 1 addition & 0 deletions src/diracx/db/sql/jobs/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class Jobs(JobDBBase):
JobName = Column("JobName", String(128), default="Unknown")
Owner = Column("Owner", String(64), default="Unknown")
OwnerGroup = Column("OwnerGroup", String(128), default="Unknown")
VO = Column("VO", String(32))
SubmissionTime = NullColumn("SubmissionTime", DateTime)
RescheduleTime = NullColumn("RescheduleTime", DateTime)
LastUpdateTime = NullColumn("LastUpdateTime", DateTime)
Expand Down

0 comments on commit e06422a

Please sign in to comment.