fill mandatory columns in bank_account

This commit is contained in:
Peter Hormanns 2014-11-25 14:37:29 +01:00
parent 76ff1fa31b
commit 374a39bd9b

View File

@ -89,10 +89,11 @@ INSERT INTO contact (bp_id, salut, first_name, last_name, firma, email)
--
-- table: bank_account
--
INSERT INTO bank_account (bp_id, bank_customer, bank_account, bank_code, bank_name, mandat_ref, mandat_signed, mandat_since)
SELECT bp_id, '', '', '', '', member_id, current_date, current_date
INSERT INTO bank_account (bp_id, bank_customer, bank_account, bank_code, bank_name, bank_iban, bank_bic, mandat_ref, mandat_signed, mandat_since)
SELECT bp_id, '', '', '', '', 'DEXX', 'XXX', member_id, current_date, current_date
FROM business_partner WHERE member_id=10000;
--
-- Table: inet_addr
--