parent ee66e619
Pipeline #21067 passed with stage
in 17 minutes and 43 seconds
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
-- CREATE BASES SIMCAQ INICIAIS --
CREATE TABLE regiao (
id int ,
nome text not null
);
CREATE TABLE estado (
id int ,
regiao_id INT ,
nome TEXT NOT NULL,
sigla VARCHAR(2)
);
CREATE TABLE municipio (
id INT NOT NULL ,
nome TEXT NOT NULL,
estado_id INT NOT NULL
);
CREATE TABLE siope_uf (
ano_censo INT NOT NULL,
estado_id INT NOT NULL ,
total_impostos FLOAT,
total_mde FLOAT,
fundeb FLOAT
);
CREATE TABLE siope_mun (
ano_censo INT NOT NULL,
estado_id INT NOT NULL ,
municipio_id INT NOT NULL ,
total_impostos FLOAT,
total_mde FLOAT,
fundeb FLOAT
);
CREATE TABLE formacao_superior (
id INT NOT NULL ,
area_cod INT,
area_nome VARCHAR(50),
curso_cod VARCHAR(6) NOT NULL,
curso VARCHAR(100),
grau_academico VARCHAR(20)
);
CREATE TABLE instituicao_superior (
"id" INTEGER NOT NULL ,
"nome" VARCHAR(255),
"cod_uf" INT,
"cod_municipio" INTEGER,
"cod_dep_adm" INT,
"dep_adm_nome" VARCHAR(15),
"instituicao_tipo" VARCHAR(15),
"cond_funcionamento" BOOLEAN
);
This diff is collapsed.
Subproject commit 1b88507dd985e87c27a855529da2c84779735c1c
Subproject commit c5573b39fbb75a74ce59d8a46b33cd635a806b1e
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment