ALTER TABLE operacoes ADD CONSTRAINT operacoes_pk PRIMARY KEY ( id );

ALTER TABLE operacoes ADD CONSTRAINT operacoes_id_sistema UNIQUE ( id,
                                                                   sistema_id );