LP1811132 Debit payment SQL upgrade fix
authorBill Erickson <berickxx@gmail.com>
Thu, 27 Feb 2020 16:01:31 +0000 (11:01 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 27 Feb 2020 16:01:33 +0000 (11:01 -0500)
Repair a copy/paste thinko in the upgrade script for debit card
payments.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/upgrade/1200.schema.debit_card_payment.sql

index 88ad356..5e753b0 100644 (file)
@@ -18,7 +18,6 @@ CREATE OR REPLACE VIEW money.non_drawer_payment_view AS
        SELECT  p.*, c.relname AS payment_type
          FROM  money.bnm_payment p         
                        JOIN pg_class c ON p.tableoid = c.oid
-         WHERE c.relname NOT IN ('cash_payment','check_payment','credit_card_payment');
          WHERE c.relname NOT IN ('cash_payment','check_payment','credit_card_payment','debit_card_payment');
 
 UPDATE action_trigger.event_definition