Skip to content

Commit

Permalink
feat: add vo column in jobs db
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-mazenoux committed Sep 22, 2023
1 parent 07fda54 commit 8e5408b
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 @@ -70,6 +70,7 @@ class Jobs(JobDBBase):
Owner = Column("Owner", String(64), default="Unknown")
OwnerDN = Column("OwnerDN", String(255), 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 8e5408b

Please sign in to comment.