Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (32 sloc) 827 Bytes
<?php
use App\Menu;
use Illuminate\Database\Migrations\Migration;
class AddTeachersAndCoursesTaughtByClassReportMenu extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Menu::query()->create([
'parent_id' => Menu::query()->where('old', 999914)->firstOrFail()->getKey(),
'title' => 'Relatório de docentes e disciplinas lecionadas por turma',
'description' => null,
'link' => '/module/Reports/StudentsWithDisabilities',
'order' => 0,
'old' => 999860,
'process' => 999860,
]);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Menu::query()->where('process', 999860)->delete();
}
}
You can’t perform that action at this time.