From: gmc Date: Fri, 13 May 2011 13:25:27 +0000 (+0000) Subject: for upgrade, let prefix and suffix in audit be null X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3341913654605eff25ec1360fe15bff6a6a6f172;p=evergreen%2Fpines.git for upgrade, let prefix and suffix in audit be null Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/trunk@20466 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql b/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql index 5cb11d00b5..b8d010f56a 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql @@ -3,11 +3,7 @@ BEGIN; INSERT INTO config.upgrade_log (version) VALUES ('0531'); --gmc ALTER TABLE auditor.asset_call_number_history - ADD COLUMN prefix INT NOT NULL DEFAULT -1, - ADD COLUMN suffix INT NOT NULL DEFAULT -1; - -ALTER TABLE auditor.asset_call_number_history - ALTER COLUMN prefix DROP DEFAULT, - ALTER COLUMN suffix DROP DEFAULT; + ADD COLUMN prefix INT, + ADD COLUMN suffix INT; COMMIT;