[open-ils-commits] r16877 - in trunk/Open-ILS/src/sql/Pg: . upgrade (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jul 8 10:11:08 EDT 2010
Author: phasefx
Date: 2010-07-08 10:11:06 -0400 (Thu, 08 Jul 2010)
New Revision: 16877
Modified:
trunk/Open-ILS/src/sql/Pg/080.schema.money.sql
trunk/Open-ILS/src/sql/Pg/upgrade/0328.schema.mccp_name_column.sql
Log:
column tweaks. If you already ran 0328, see comments at top
Modified: trunk/Open-ILS/src/sql/Pg/080.schema.money.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/080.schema.money.sql 2010-07-08 13:40:01 UTC (rev 16876)
+++ trunk/Open-ILS/src/sql/Pg/080.schema.money.sql 2010-07-08 14:11:06 UTC (rev 16877)
@@ -627,7 +627,8 @@
cc_type TEXT,
cc_number TEXT,
cc_processor TEXT,
- cc_name TEXT, -- name of account holder, not the name of the credit card :)
+ cc_first_name TEXT,
+ cc_last_name TEXT,
expire_month INT,
expire_year INT,
approval_code TEXT
Modified: trunk/Open-ILS/src/sql/Pg/upgrade/0328.schema.mccp_name_column.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0328.schema.mccp_name_column.sql 2010-07-08 13:40:01 UTC (rev 16876)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0328.schema.mccp_name_column.sql 2010-07-08 14:11:06 UTC (rev 16877)
@@ -1,3 +1,7 @@
+-- If you ran this before its most recent incarnation:
+-- delete from config.upgrade_log where version = '0328';
+-- alter table money.credit_card_payment drop column cc_name;
+
BEGIN;
INSERT INTO config.upgrade_log (version) VALUES ('0328'); -- phasefx
@@ -2,3 +6,4 @@
-ALTER TABLE money.credit_card_payment ADD COLUMN cc_name TEXT;
+ALTER TABLE money.credit_card_payment ADD COLUMN cc_first_name TEXT;
+ALTER TABLE money.credit_card_payment ADD COLUMN cc_last_name TEXT;
More information about the open-ils-commits
mailing list