Source

dados-tse / modelo / drop-FK-script.sql

tbrugz 43b29ac 





































tbrugz 80e9322 
alter table fato_tse_votacao drop constraint fato_tse_votacao_uf_fkey;

alter table fato_tse_votacao drop constraint fato_ue_fk;

alter table fato_tse_votacao drop constraint voto_cand_fk;

alter table fato_tse_votacao drop constraint voto_cargo_fk;

alter table fato_tse_votacao drop constraint voto_partido_fk2;

alter table fato_tse_votacao drop constraint voto_secao_fk;

alter table tse_candidatos drop constraint cand_cargo_fk;

alter table tse_candidatos drop constraint cand_politico_fk;

alter table tse_candidatos drop constraint cand_situ_fk;

alter table tse_candidatos drop constraint cand_ue_fk;

alter table tse_candidatos_bens drop constraint bens_tipos_fk;

alter table tse_detalhe_secao drop constraint detsecao_cargo_fk;

alter table tse_detalhe_secao drop constraint detsecao_secao_fk;

alter table tse_municipios drop constraint municipios_ufs_fk;

alter table tse_partidos drop constraint partidos_cons_fk;

alter table tse_partidos drop constraint partidos_ue_fk;

alter table tse_pc_receitas_cand drop constraint pcreccand_cand_fk;

alter table tse_secoes drop constraint secoes_municipios_fk;

alter table tse_secoes drop constraint secoes_uf_fk;

alter table tse_unidade_eleitoral drop constraint ue_uecons_fk;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.