Commit 4599c3c7702b1212183533fd99a9bd885ddc28e2

Authored by Caroline Salib
1 parent 6162423c
Exists in master

Corrigido problema ao cadastrar complemento da escola;

portabilis/ieducar#187
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
... ...