[open-ils-commits] r20467 - branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade (gmc)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri May 13 09:26:48 EDT 2011
Author: gmc
Date: 2011-05-13 09:26:46 -0400 (Fri, 13 May 2011)
New Revision: 20467
Modified:
branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql
Log:
for upgrade, let prefix and suffix in audit be null
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Modified: branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql
===================================================================
--- branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql 2011-05-13 13:25:27 UTC (rev 20466)
+++ branches/rel_2_1/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql 2011-05-13 13:26:46 UTC (rev 20467)
@@ -3,11 +3,7 @@
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;
+ ADD COLUMN prefix INT,
+ ADD COLUMN suffix INT;
-ALTER TABLE auditor.asset_call_number_history
- ALTER COLUMN prefix DROP DEFAULT,
- ALTER COLUMN suffix DROP DEFAULT;
-
COMMIT;
More information about the open-ils-commits
mailing list