Commit c45798a54fd8100fe0ad7101f5cd7519e8765326
1 parent
d3d558ce
Exists in
master
Removido DROP da function modules.copia_notas_transf;
portabilis/ieducar#162
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
ieducar/misc/database/migrations/20161230162741_altera_funcao_copia_notas_transf.php
@@ -6,8 +6,7 @@ class AlteraFuncaoCopiaNotasTransf extends AbstractMigration | @@ -6,8 +6,7 @@ class AlteraFuncaoCopiaNotasTransf extends AbstractMigration | ||
6 | { | 6 | { |
7 | public function up() | 7 | public function up() |
8 | { | 8 | { |
9 | - $this->execute("DROP FUNCTION modules.copia_notas_transf(old_matricula_id integer, new_matricula_id integer); | ||
10 | - CREATE OR REPLACE FUNCTION modules.copia_notas_transf(old_matricula_id integer, new_matricula_id integer) | 9 | + $this->execute("CREATE OR REPLACE FUNCTION modules.copia_notas_transf(old_matricula_id integer, new_matricula_id integer) |
11 | RETURNS void AS | 10 | RETURNS void AS |
12 | $$ | 11 | $$ |
13 | DECLARE | 12 | DECLARE |