-- Copyright (C) 2026 Eduard Wisch -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- Table for PDF bank statements CREATE TABLE llx_bankimport_statement ( rowid INTEGER AUTO_INCREMENT PRIMARY KEY, entity INTEGER DEFAULT 1 NOT NULL, iban VARCHAR(34), statement_number VARCHAR(20) NOT NULL, statement_year INTEGER NOT NULL, statement_date DATE, date_from DATE, date_to DATE, opening_balance DOUBLE(24,8), closing_balance DOUBLE(24,8), currency VARCHAR(3) DEFAULT 'EUR', filename VARCHAR(255), filepath VARCHAR(512), filesize INTEGER, import_key VARCHAR(50), datec DATETIME, fk_user_creat INTEGER, note_private TEXT, note_public TEXT ) ENGINE=InnoDB;