-- Enforce unique bank codes (case-insensitive) to avoid concurrent duplicate inserts.
CREATE UNIQUE INDEX IF NOT EXISTS ux_banks_code_ci
ON banks (LOWER(code));
