From: phasefx Date: Thu, 8 Jul 2010 13:40:01 +0000 (+0000) Subject: adding a cc_name field to money.credit_card_payment to hold the human name on the... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d8d6ff1235fb4972fbb0236684755926be1d19ad;p=evergreen%2Fbjwebb.git adding a cc_name field to money.credit_card_payment to hold the human name on the credit card git-svn-id: svn://svn.open-ils.org/ILS/trunk@16876 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 51bf0e81d..aabe21131 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -68,7 +68,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0327'); -- berick +INSERT INTO config.upgrade_log (version) VALUES ('0328'); -- phasefx CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/080.schema.money.sql b/Open-ILS/src/sql/Pg/080.schema.money.sql index e84a99661..597069b29 100644 --- a/Open-ILS/src/sql/Pg/080.schema.money.sql +++ b/Open-ILS/src/sql/Pg/080.schema.money.sql @@ -627,6 +627,7 @@ CREATE TABLE money.credit_card_payment ( cc_type TEXT, cc_number TEXT, cc_processor TEXT, + cc_name TEXT, -- name of account holder, not the name of the credit card :) expire_month INT, expire_year INT, approval_code TEXT diff --git a/Open-ILS/src/sql/Pg/upgrade/0328.schema.mccp_name_column.sql b/Open-ILS/src/sql/Pg/upgrade/0328.schema.mccp_name_column.sql new file mode 100644 index 000000000..0572fbdd0 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0328.schema.mccp_name_column.sql @@ -0,0 +1,7 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0328'); -- phasefx + +ALTER TABLE money.credit_card_payment ADD COLUMN cc_name TEXT; + +COMMIT;