ALTER TABLE TBAPI_BB
    ADD VERSAO INTEGER DEFAULT 1 NOT NULL;

COMMENT ON COLUMN TBAPI_BB.VERSAO IS
'VERSAO DA API DO PIX:
1 - VERSAO 1;
2 - VERSAO 2;';

CREATE INDEX ITBAPI_BB_01
ON TBAPI_BB (ESTABELECIMENTO_ID);

