From 915b51819296ba7cfe8cce2d974b89bfa5618476 Mon Sep 17 00:00:00 2001 From: Adam Rauch Date: Thu, 3 Sep 2026 15:20:10 -0700 Subject: [PATCH] Comment out erroneous DROP --- .../dbscripts/postgresql/SequenceAnalysis-12.291-12.292.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SequenceAnalysis/resources/schemas/dbscripts/postgresql/SequenceAnalysis-12.291-12.292.sql b/SequenceAnalysis/resources/schemas/dbscripts/postgresql/SequenceAnalysis-12.291-12.292.sql index 0be7f3bdb..10a770d58 100644 --- a/SequenceAnalysis/resources/schemas/dbscripts/postgresql/SequenceAnalysis-12.291-12.292.sql +++ b/SequenceAnalysis/resources/schemas/dbscripts/postgresql/SequenceAnalysis-12.291-12.292.sql @@ -1,4 +1,6 @@ -SELECT core.fn_dropifexists('sequenceanalysis', 'barcodes', 'CONSTRAINT', 'UNIQUE_barcodes'); +-- The schema and table names were reversed in a previous attempt to drop this constraint, so it was never dropped. +-- New syntax results in a SQL exception, so it's commented out, but left as historical documentation of the intent. +-- ALTER TABLE barcodes.sequenceanalysis DROP CONSTRAINT IF EXISTS UNIQUE_barcodes; CREATE TABLE sequenceanalysis.genomeAliases ( rowid serial,