alter table d_lancamentos drop foreign key fk_lan_pai;
delete FROM `d_lancamentos` WHERE 1;
alter table d_lancamentos add constraint fk_lan_pai foreign key (lancamento_pai) references d_lancamentos (id);
delete FROM `d_contrato_reserva_usuarios` WHERE 1;
delete FROM `d_reserva_confirmacoes` WHERE 1;
delete FROM `d_reserva_administradores` WHERE 1;
delete FROM `d_reserva_vouchers` WHERE 1;
delete FROM `d_reservas` WHERE 1;
delete FROM `d_forma_pagamentos` WHERE 1;
alter table d_solicitacoes drop foreign key fk_fft_id;
delete FROM `d_solicitacoes` WHERE 1;
alter table d_solicitacoes add constraint fk_fft_id foreign key (solicitacao_forfait_id) references d_solicitacao_forfaits (id);
delete FROM `d_solicitacao_forfaits` WHERE 1;
