Commit 6346ef30d55becb8c3d84029f562f3b087e22bd7
1 parent
248e8926
Exists in
master
Ajustado bug ao cadastrar função de servidor;
portabilis/ieducar#196
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
ieducar/misc/database/migrations/20170918163909_remove_index_tabela_funcao.php
0 → 100644
... | ... | @@ -0,0 +1,12 @@ |
1 | +<?php | |
2 | + | |
3 | +use Phinx\Migration\AbstractMigration; | |
4 | + | |
5 | +class RemoveIndexTabelaFuncao extends AbstractMigration | |
6 | +{ | |
7 | + public function change() | |
8 | + { | |
9 | + $this->execute("DROP INDEX IF EXISTS pmieducar.i_funcao_abreviatura_asc;"); | |
10 | + $this->execute("DROP INDEX IF EXISTS pmieducar.i_funcao_nm_funcao_asc;"); | |
11 | + } | |
12 | +} | ... | ... |