added helper queries for user builds

This commit is contained in:
Brad Rydzewski
2015-10-02 16:16:41 -07:00
parent 4435d7f2f6
commit 130c133b92
9 changed files with 103 additions and 39 deletions

View File

@@ -33,7 +33,7 @@ CREATE TABLE repos (
,repo_allow_tags BOOLEAN
,repo_hash VARCHAR(500)
,UNIQUE(repo_owner, repo_name)
,UNIQUE(repo_full_name)
);
CREATE TABLE stars (

View File

@@ -33,7 +33,7 @@ CREATE TABLE repos (
,repo_allow_tags BOOLEAN
,repo_hash VARCHAR(500)
,UNIQUE(repo_owner, repo_name)
,UNIQUE(repo_full_name)
);
CREATE TABLE stars (

View File

@@ -33,7 +33,7 @@ CREATE TABLE repos (
,repo_allow_tags BOOLEAN
,repo_hash TEXT
,UNIQUE(repo_owner, repo_name)
,UNIQUE(repo_full_name)
);
CREATE TABLE stars (