Commit d371d866b16ec0859b0450bfd0d8c1ce333b516a
Exists in
master
Merge branch 'master' into 'master'
Corrigido problema ao cadastrar complemento da escola Referente a issue #60 See merge request !39
Showing
1 changed file
with
17 additions
and
0 deletions
Show diff stats
ieducar/misc/database/migrations/20170509222529_remove_index_asc_escola_complemento.php
0 → 100644
... | ... | @@ -0,0 +1,17 @@ |
1 | +<?php | |
2 | + | |
3 | +use Phinx\Migration\AbstractMigration; | |
4 | + | |
5 | +class RemoveIndexAscEscolaComplemento extends AbstractMigration | |
6 | +{ | |
7 | + public function change() | |
8 | + { | |
9 | + $this->execute("DROP INDEX pmieducar.i_escola_complemento_bairro_asc"); | |
10 | + $this->execute("DROP INDEX pmieducar.i_escola_complemento_cep_asc"); | |
11 | + $this->execute("DROP INDEX pmieducar.i_escola_complemento_complemento_asc"); | |
12 | + $this->execute("DROP INDEX pmieducar.i_escola_complemento_email_asc"); | |
13 | + $this->execute("DROP INDEX pmieducar.i_escola_complemento_logradouro_asc"); | |
14 | + $this->execute("DROP INDEX pmieducar.i_escola_complemento_municipio_asc"); | |
15 | + $this->execute("DROP INDEX pmieducar.i_escola_complemento_nm_escola_asc"); | |
16 | + } | |
17 | +} | |
0 | 18 | \ No newline at end of file | ... | ... |