[open-ils-commits] r10941 - branches/rel_1_4/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 28 12:13:14 EDT 2008
Author: miker
Date: 2008-10-28 12:13:02 -0400 (Tue, 28 Oct 2008)
New Revision: 10941
Modified:
branches/rel_1_4/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql
Log:
remove NOT NULL constraints from CC payments
Modified: branches/rel_1_4/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql
===================================================================
--- branches/rel_1_4/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql 2008-10-28 16:11:08 UTC (rev 10940)
+++ branches/rel_1_4/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql 2008-10-28 16:13:02 UTC (rev 10941)
@@ -459,6 +459,14 @@
FROM metabib.full_rec
WHERE metabib.full_rec.record = metabib.rec_descriptor.record AND metabib.full_rec.tag = '008';
+
+ALTER TABLE money.credit_card_payment ALTER cc_type DROP NOT NULL;
+ALTER TABLE money.credit_card_payment ALTER cc_number DROP NOT NULL;
+ALTER TABLE money.credit_card_payment ALTER expire_month DROP NOT NULL;
+ALTER TABLE money.credit_card_payment ALTER expire_year DROP NOT NULL;
+ALTER TABLE money.credit_card_payment ALTER approval_code DROP NOT NULL;
+
+
ALTER TABLE asset.copy_location ADD COLUMN hold_verify BOOL NOT NULL DEFAULT FALSE;
ALTER TABLE asset.copy ALTER price DROP NOT NULL;
ALTER TABLE asset.copy ALTER price DROP DEFAULT;
More information about the open-ils-commits
mailing list