adding index to track authors

This commit is contained in:
Brad Rydzewski 2015-10-02 16:52:50 -07:00
parent 71a0879309
commit 66d54ade7c
3 changed files with 6 additions and 3 deletions

View file

@ -81,7 +81,8 @@ CREATE TABLE builds (
,UNIQUE(build_number, build_repo_id)
);
CREATE INDEX ix_build_repo ON builds (build_repo_id);
CREATE INDEX ix_build_repo ON builds (build_repo_id);
CREATE INDEX ix_build_author ON builds (build_author);
CREATE TABLE jobs (
job_id INTEGER PRIMARY KEY AUTO_INCREMENT

View file

@ -81,7 +81,8 @@ CREATE TABLE builds (
,UNIQUE(build_number, build_repo_id)
);
CREATE INDEX ix_build_repo ON builds (build_repo_id);
CREATE INDEX ix_build_repo ON builds (build_repo_id);
CREATE INDEX ix_build_author ON builds (build_author);
CREATE TABLE jobs (
job_id SERIAL PRIMARY KEY

View file

@ -81,7 +81,8 @@ CREATE TABLE builds (
,UNIQUE(build_number, build_repo_id)
);
CREATE INDEX ix_build_repo ON builds (build_repo_id);
CREATE INDEX ix_build_repo ON builds (build_repo_id);
CREATE INDEX ix_build_author ON builds (build_author);
CREATE TABLE jobs (
job_id INTEGER PRIMARY KEY AUTOINCREMENT