From 4599c3c7702b1212183533fd99a9bd885ddc28e2 Mon Sep 17 00:00:00 2001 From: Caroline Salib Date: Tue, 9 May 2017 19:34:26 -0300 Subject: [PATCH] Corrigido problema ao cadastrar complemento da escola; portabilis/ieducar#187 --- ieducar/misc/database/migrations/20170509222529_remove_index_asc_escola_complemento.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+), 0 deletions(-) create mode 100644 ieducar/misc/database/migrations/20170509222529_remove_index_asc_escola_complemento.php diff --git a/ieducar/misc/database/migrations/20170509222529_remove_index_asc_escola_complemento.php b/ieducar/misc/database/migrations/20170509222529_remove_index_asc_escola_complemento.php new file mode 100644 index 0000000..f0309c7 --- /dev/null +++ b/ieducar/misc/database/migrations/20170509222529_remove_index_asc_escola_complemento.php @@ -0,0 +1,17 @@ +execute("DROP INDEX pmieducar.i_escola_complemento_bairro_asc"); + $this->execute("DROP INDEX pmieducar.i_escola_complemento_cep_asc"); + $this->execute("DROP INDEX pmieducar.i_escola_complemento_complemento_asc"); + $this->execute("DROP INDEX pmieducar.i_escola_complemento_email_asc"); + $this->execute("DROP INDEX pmieducar.i_escola_complemento_logradouro_asc"); + $this->execute("DROP INDEX pmieducar.i_escola_complemento_municipio_asc"); + $this->execute("DROP INDEX pmieducar.i_escola_complemento_nm_escola_asc"); + } +} \ No newline at end of file -- libgit2 0.21.2