Commit 8aab448fd7b2b1fbf52a336b9df45a6b1e33cec8

Authored by Caroline Salib
2 parents accc4f67 c45798a5
Exists in master

Merge branch 'master' into 'master'

Removido DROP da function modules.copia_notas_transf;

Referente a issue #19

See merge request !24
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