Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
Add eligible_ts,date} columns to Jobs table
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaer committed Dec 20, 2016
1 parent b2fdbe6 commit b51668a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/create-tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ CREATE TABLE Jobs (
qos TINYTEXT,
submit_ts INT,
submit_date DATE,
eligible_ts INT,
eligible_date DATE,
start_ts INT,
start_date DATE,
end_ts INT,
Expand Down Expand Up @@ -50,6 +52,7 @@ CREATE INDEX group_jobs ON Jobs (groupname);
CREATE INDEX account_jobs ON Jobs (account);
CREATE INDEX queue_jobs ON Jobs (queue(16));
CREATE INDEX submit_jobs ON Jobs (submit_date);
CREATE INDEX eligible_jobs ON Jobs (eligible_date);
CREATE INDEX start_jobs ON Jobs (start_date);
CREATE INDEX end_jobs ON Jobs (end_date);
CREATE INDEX start_end_jobs ON Jobs (start_date,end_date);
Expand Down

0 comments on commit b51668a

Please sign in to comment.