Skip to content

Commit cdf7a5b

Browse files
authored
Comment out erroneous DROP (#434)
#### Rationale We're deprecating fb_dropifexists(), but this invocation had reversed parameters
1 parent f3bd947 commit cdf7a5b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

SequenceAnalysis/resources/schemas/dbscripts/postgresql/SequenceAnalysis-12.291-12.292.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
SELECT core.fn_dropifexists('sequenceanalysis', 'barcodes', 'CONSTRAINT', 'UNIQUE_barcodes');
1+
-- The schema and table names were reversed in a previous attempt to drop this constraint, so it was never dropped.
2+
-- New syntax results in a SQL exception, so it's commented out, but left as historical documentation of the intent.
3+
-- ALTER TABLE barcodes.sequenceanalysis DROP CONSTRAINT IF EXISTS UNIQUE_barcodes;
24

35
CREATE TABLE sequenceanalysis.genomeAliases (
46
rowid serial,

0 commit comments

Comments
 (0)