Commit c858b1349070d1c37b7c0823f99c3dcb34af081d
Exists in
master
Merge branch 'master' into 'master'
Ajustado bug no cadastro de função Referente a issue #82 See merge request !48
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 | +} | ... | ... |