Commit 747a12d022a573aa35a5dafdd27a27f598426efa

Authored by Eder Soares
1 parent b3d6f8ee
Exists in 2.8 and in 7 other branches 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7

Remove adição de menu inexistente

database/migrations/2019_05_02_134914_adiciona_menu_ata_resultado_final.php
... ... @@ -1,32 +0,0 @@
1   -<?php
2   -
3   -use Illuminate\Support\Facades\DB;
4   -use Illuminate\Support\Facades\Schema;
5   -use Illuminate\Database\Schema\Blueprint;
6   -use Illuminate\Database\Migrations\Migration;
7   -
8   -class AdicionaMenuAtaResultadoFinal extends Migration
9   -{
10   - /**
11   - * Run the migrations.
12   - *
13   - * @return void
14   - */
15   - public function up()
16   - {
17   - DB::statement("INSERT INTO portal.menu_submenu values (9998911, 55, 2, 'Ata Resultado final', 'module/Reports/AtaResultadoFinal',null,3);");
18   - DB::statement("INSERT INTO pmicontrolesis.menu VALUES(9998911,9998911,999925,'Ata Resultado final',0,'module/Reports/AtaResultadoFinal','_self',1,15,192);");
19   - DB::statement("INSERT INTO pmieducar.menu_tipo_usuario VALUES(1,9998911,1,1,1);");
20   -
21   - DB::statement("INSERT INTO menus (parent_id, title, description, link, icon, \"order\", type, process, old, parent_old, active) VALUES (77,'Ata de resultado final', 'Ata de resultado final', '/module/Reports/AtaResultadoFinal','',0,4,9998911,9998911,999925,true);");
22   - }
23   -
24   - public function down()
25   - {
26   - DB::statement('delete from menus where parent_old = 999925 and old = 9998911 and process = 9998911;');
27   - DB::statement('delete from pmieducar.menu_tipo_usuario where ref_cod_tipo_usuario = 1 and ref_cod_menu_submenu = 9998911;');
28   - DB::statement('delete from pmicontrolesis.menu where cod_menu = 9998911;');
29   - DB::statement('delete from portal.menu_submenu where cod_menu_submenu = 9998911;');
30   -
31   - }
32   -}