Commit f6837d3e8d74a0abf9e967550342d7b3890b222b
1 parent
212c5907
Exists in
master
Corrigido problema ao cadastrar novos cursos;
portabilis/ieducar#167
Showing
1 changed file
with
13 additions
and
0 deletions
Show diff stats
ieducar/misc/database/migrations/20170422004818_remove_index_to_asc_curso.php
0 → 100644
@@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
1 | +<?php | ||
2 | + | ||
3 | +use Phinx\Migration\AbstractMigration; | ||
4 | + | ||
5 | +class RemoveIndexToAscCurso extends AbstractMigration | ||
6 | +{ | ||
7 | + public function change() | ||
8 | + { | ||
9 | + $this->execute("DROP INDEX pmieducar.i_curso_sgl_curso_asc;"); | ||
10 | + $this->execute("DROP INDEX pmieducar.i_curso_nm_curso_asc;"); | ||
11 | + $this->execute("DROP INDEX pmieducar.i_curso_objetivo_curso_asc;"); | ||
12 | + } | ||
13 | +} |