ALTER TABLE softsat_locacao_boleto
	ADD CONSTRAINT `fk_softsat_locacao_boleto_hwapx_user_created_by` FOREIGN KEY (`created_by`) REFERENCES `hwapx_user` (`id`) ON DELETE SET NULL,
	ADD CONSTRAINT `fk_softsat_locacao_boleto_hwapx_user_updated_by` FOREIGN KEY (`updated_by`) REFERENCES `hwapx_user` (`id`) ON DELETE SET NULL;

ALTER TABLE softsat_locacao_boleto
	ADD CONSTRAINT `fk_softsat_locacao_boleto_softsat_locacao_contrato` FOREIGN KEY (`contrato_id`) REFERENCES `softsat_locacao_contrato` (`id`),
	ADD CONSTRAINT `fk_softsat_locacao_boleto_softsat_locacao_cliente` FOREIGN KEY (`cliente_id`) REFERENCES `softsat_locacao_cliente` (`id`);