[open-ils-commits] r10940 - 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:11:25 EDT 2008
Author: miker
Date: 2008-10-28 12:11:08 -0400 (Tue, 28 Oct 2008)
New Revision: 10940
Modified:
branches/rel_1_4/Open-ILS/src/sql/Pg/080.schema.money.sql
Log:
remove NOT NULL constraints from CC payments
Modified: branches/rel_1_4/Open-ILS/src/sql/Pg/080.schema.money.sql
===================================================================
--- branches/rel_1_4/Open-ILS/src/sql/Pg/080.schema.money.sql 2008-10-28 16:10:23 UTC (rev 10939)
+++ branches/rel_1_4/Open-ILS/src/sql/Pg/080.schema.money.sql 2008-10-28 16:11:08 UTC (rev 10940)
@@ -375,11 +375,11 @@
CREATE INDEX money_check_payment_cash_drawer_idx ON money.check_payment (cash_drawer);
CREATE TABLE money.credit_card_payment (
- cc_type TEXT NOT NULL,
- cc_number TEXT NOT NULL,
- expire_month INT NOT NULL,
- expire_year INT NOT NULL,
- approval_code TEXT NOT NULL
+ cc_type TEXT,
+ cc_number TEXT,
+ expire_month INT,
+ expire_year INT,
+ approval_code TEXT
) INHERITS (money.bnm_desk_payment);
ALTER TABLE money.credit_card_payment ADD PRIMARY KEY (id);
CREATE INDEX money_credit_card_payment_xact_idx ON money.credit_card_payment (xact);
More information about the open-ils-commits
mailing list