Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove migrations de exclusão de tabelas do banco de dados #990

Open
wants to merge 38 commits into
base: 2.9
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
f0e8427
Remove `census_students`
edersoares Dec 23, 2024
16ce0f6
Remove migrations do schema `urbano`
edersoares Dec 23, 2024
ec542cb
Remove views
edersoares Dec 23, 2024
7d49620
Remove `cadastro.religioes`
edersoares Dec 23, 2024
5affe88
Remove `pmieducar.escola_rede_ensino`
edersoares Dec 23, 2024
b636123
Remove `pmieducar.infra_predio_comodo`
edersoares Dec 23, 2024
132f11e
Remove `pmieducar.infra_comodo_funcao`
edersoares Dec 23, 2024
69973e3
Remove `pmieducar.infra_predio`
edersoares Dec 23, 2024
81ef159
Remove `pmieducar.subnivel`
edersoares Dec 23, 2024
59ba8b6
Remove `pmieducar.nivel`
edersoares Dec 23, 2024
d97a3b5
Remove `pmieducar.categoria_nivel`
edersoares Dec 23, 2024
292b1fa
Remove `pmieducar.serie_pre_requisito`
edersoares Dec 23, 2024
fd057c4
Remove `pmieducar.operador`
edersoares Dec 23, 2024
e96140e
Remove `pmieducar.v_matricula_matricula_turma`
edersoares Dec 23, 2024
9399368
Remove `pmieducar.nota_aluno`
edersoares Dec 23, 2024
77a2b10
Remove `pmieducar.servidor_titulo_concurso`
edersoares Dec 23, 2024
a1bb65c
Remove `pmieducar.servidor_curso`
edersoares Dec 23, 2024
cd9b7d2
Remove `pmieducar.servidor_formacao`
edersoares Dec 23, 2024
84d6771
Remove `pmieducar.tipo_avaliacao_valores`
edersoares Dec 23, 2024
c904f3d
Remove `pmieducar.tipo_avaliacao`
edersoares Dec 23, 2024
be1b0ce
Código morto
edersoares Dec 23, 2024
4c41aba
Remove `pmieducar.pre_requisito`
edersoares Dec 23, 2024
928200e
Remove `pmieducar.serie_vaga`
edersoares Dec 23, 2024
5297ce6
Remove `pmieducar.habilitacao_curso`
edersoares Dec 23, 2024
e371f8d
Remove `pmieducar.habilitacao`
edersoares Dec 23, 2024
9416175
Remove `modules.docente_licenciatura`
edersoares Dec 23, 2024
b895f04
Remove `modules.falta_geral_max`
edersoares Dec 23, 2024
02438b6
Remove `modules.falta_geral_min`
edersoares Dec 23, 2024
103156c
Remove `modules.uniforme_aluno`
edersoares Dec 23, 2024
347a863
Remove `pmieducar.disciplina_topico`
edersoares Dec 23, 2024
0410c29
Remove `pmieducar.material_didatico`
edersoares Dec 23, 2024
353267e
Remove `pmieducar.material_tipo`
edersoares Dec 23, 2024
3029f71
Remove `pmieducar.matricula_excessao`
edersoares Dec 23, 2024
640bd2a
Remove `pmieducar.quantidade_reserva_externa`
edersoares Dec 23, 2024
923fd9a
Remove `public.users`
edersoares Dec 23, 2024
a19f60f
Remove `pmieducar.falta_aluno`
edersoares Dec 23, 2024
3e66331
Remove `pmieducar.faltas`
edersoares Dec 23, 2024
3bd76db
Migrations para remoção
edersoares Dec 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions app/Console/Commands/LegacyCreateTestsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,6 @@ private function excludeClasseNameList()
'EducarFaltaNotaAlunoDet',
'EducarFonteDet',
'EducarFuncaoDet',
'EducarHabilitacaoDet',
'EducarHabilitacaoCad',
'EducarHabilitacaoLst',
'EducarHistoricoEscolarDet',
'EducarHistoricoEscolarLst',
'EducarFaltaNotaAlunoLst',
Expand Down
1 change: 0 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public function boot()
database_path('migrations/educacenso'),
database_path('migrations/exporter'),
database_path('migrations/misc'),
database_path('migrations/remove'),
database_path('migrations/report'),
database_path('migrations/table'),
]);
Expand Down
2 changes: 1 addition & 1 deletion app/Providers/Postgres/DatabaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function register()
Connection::resolverFor('pgsql', function ($connection, $database, $prefix, $config) {
$connection = new PostgresConnection($connection, $database, $prefix, $config);

$connection->getPdo()->exec('SET search_path = "$user", public, portal, cadastro, pmieducar, urbano, modules;');
$connection->getPdo()->exec('SET search_path = "$user", public, portal, cadastro, pmieducar, modules;');

return $connection;
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public function up()
CREATE SCHEMA pmieducar;
CREATE SCHEMA portal;
CREATE SCHEMA relatorio;
CREATE SCHEMA urbano;
'
);
}
Expand All @@ -38,7 +37,6 @@ public function down()
DROP SCHEMA pmieducar;
DROP SCHEMA portal;
DROP SCHEMA relatorio;
DROP SCHEMA urbano;
'
);
}
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public function up()
ref_usuario_cad integer NOT NULL,
ref_usuario_exc integer,
ref_cod_instituicao integer NOT NULL,
ref_cod_escola_rede_ensino integer NOT NULL,
ref_idpes integer,
sigla character varying(20) NOT NULL,
data_cadastro timestamp without time zone NOT NULL,
Expand Down Expand Up @@ -200,8 +199,6 @@ public function up()

CREATE INDEX i_escola_ativo ON pmieducar.escola USING btree (ativo);

CREATE INDEX i_escola_ref_cod_escola_rede_ensino ON pmieducar.escola USING btree (ref_cod_escola_rede_ensino);

CREATE INDEX i_escola_ref_cod_instituicao ON pmieducar.escola USING btree (ref_cod_instituicao);

CREATE INDEX i_escola_ref_idpes ON pmieducar.escola USING btree (ref_idpes);
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading