2.2 upgrade missing vandelay.authority_match.quality column
authorBill Erickson <berick@esilibrary.com>
Tue, 19 Jun 2012 12:45:59 +0000 (08:45 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 24 Jul 2012 21:43:48 +0000 (17:43 -0400)
This column slipped through the cracks of the 2.1 to 2.2 upgrade.

ALTER TABLE vandelay.authority_match ADD COLUMN quality INTEGER NOT NULL DEFAULT 0;

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/version-upgrade/2.1-2.2-upgrade-db.sql

index f527d29..cc9b4b1 100644 (file)
@@ -1975,6 +1975,7 @@ ALTER TABLE vandelay.queued_authority_record
     ADD COLUMN error_detail TEXT;
 
 ALTER TABLE vandelay.authority_match DROP COLUMN matched_attr;
+ALTER TABLE vandelay.authority_match ADD COLUMN quality INTEGER NOT NULL DEFAULT 0;
 
 CREATE OR REPLACE FUNCTION vandelay.cleanup_authority_marc ( ) RETURNS TRIGGER AS $$
 BEGIN