-- Update script for BankImport module v1.7
-- Run this if upgrading from earlier versions

-- Add fk_statement column if not exists
ALTER TABLE llx_bankimport_transaction ADD COLUMN IF NOT EXISTS fk_statement INTEGER DEFAULT NULL;

-- Add index for fk_statement if not exists
-- Note: MySQL/MariaDB syntax - check before running on other DB
-- CREATE INDEX IF NOT EXISTS idx_bankimport_transaction_statement ON llx_bankimport_transaction (fk_statement);
