ALTER TABLE operacoes
    ADD CONSTRAINT operacoes_moedas_fk FOREIGN KEY ( moeda_id )
        REFERENCES moedas ( id );