import { sql } from 'slonik';
/**
 * Tenant-scope accounter_schema.poalim_securities (created in 2026-08-11T12-00-00).
 *
 * The table was created with a nullable owner_id and an owner-less dedup index. Both are
 * wrong for an RLS table: unique indexes are enforced regardless of RLS, so two tenants
 * holding the same security in identically-numbered accounts collide and the second
 * tenant's rows are silently dropped by ON CONFLICT DO NOTHING. A NULL owner_id row is
 * likewise unusable — the tenant_isolation policy makes it invisible to every tenant.
 *
 * Index changes:
 *   - DROP unique index poalim_securities_dedup_uindex (bank, branch, account, key)
 *   - ADD  unique index poalim_securities_dedup_uindex (owner_id, bank, branch, account, key)
 *   - KEEP poalim_securities_owner_id_idx
 */
declare const _default: {
    name: string;
    run: ({ connection }: {
        sql: typeof sql.unsafe;
        connection: import("slonik").DatabaseTransactionConnection | import("slonik").DatabasePool;
    }) => Promise<void>;
};
export default _default;
