2 -- @description: Tabelle für Bankkonten (u.a. für SEPA-Export)
3 -- @depends: release_2_4_3
4 CREATE TABLE bank_accounts (
5 id integer NOT NULL DEFAULT nextval('id'),
6 account_number varchar(100),
7 bank_code varchar(100),
11 chart_id integer NOT NULL,
14 FOREIGN KEY (chart_id) REFERENCES chart (id)
17 ALTER TABLE customer ADD COLUMN iban varchar(100);
18 ALTER TABLE customer ADD COLUMN bic varchar(100);
19 UPDATE customer SET iban = '', bic = '';
21 ALTER TABLE vendor ADD COLUMN iban varchar(100);
22 ALTER TABLE vendor ADD COLUMN bic varchar(100);
23 UPDATE vendor SET iban = '', bic = '';