Skip to content

Commit

Permalink
Merge pull request #795 from hammerlab/hotfix-unique-vcf-uri-constraint
Browse files Browse the repository at this point in the history
Remove UNIQUE constraint on VCF URIs
  • Loading branch information
ihodes committed Jul 24, 2015
2 parents e87c96f + 3777973 commit 063b06e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ CREATE TABLE vcfs (

caller_name TEXT, -- Name of the caller this came from.
notes TEXT, -- Any notes, params, etc the user might add. Ideally in JSON format.
uri TEXT UNIQUE, -- URI of source file, if any
uri TEXT, -- URI of source file, if any
vcf_header TEXT, -- Plaintext header of the VCF
extant_columns TEXT, -- JSON list of non-null columns in the VCF
genotype_count BIGINT -- number of variants in this VCF
);
CREATE UNIQUE INDEX vcfs_project_id_uri_key ON vcfs (project_id, uri);

CREATE TABLE user_comments (
id BIGSERIAL PRIMARY KEY,
Expand Down

0 comments on commit 063b06e

Please sign in to comment.