Skip to content

Commit

Permalink
Add code to split blocks and update edges
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhofer committed Aug 1, 2024
1 parent 36e54cd commit 532c63c
Show file tree
Hide file tree
Showing 3 changed files with 541 additions and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/01-initial/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CREATE TABLE block (
strand TEXT NOT NULL DEFAULT "1",
FOREIGN KEY(sequence_hash) REFERENCES sequence(hash),
FOREIGN KEY(block_group_id) REFERENCES block_group(id),
constraint chk_strand check (strand in ('-1', '1', '0', '.', '?'))
constraint chk_strand check (strand in ('-1', '1', '0', '.', '?', '+', '-'))
);
CREATE UNIQUE INDEX block_uidx ON block(sequence_hash, block_group_id, start, end, strand);

Expand Down
Loading

0 comments on commit 532c63c

Please sign in to comment.