[open-ils-commits] r20466 - trunk/Open-ILS/src/sql/Pg/upgrade (gmc)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri May 13 09:25:28 EDT 2011
Author: gmc
Date: 2011-05-13 09:25:27 -0400 (Fri, 13 May 2011)
New Revision: 20466
Modified:
trunk/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: trunk/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql 2011-05-13 13:09:54 UTC (rev 20465)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0531.schema.auditor_affixes.sql 2011-05-13 13:25:27 UTC (rev 20466)
@@ -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