<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        \Illuminate\Support\Facades\DB::statement("UPDATE `mainmenu` SET `link` = 'user.index' WHERE `mainmenu`.`link` = 'clients.index';");
        \Illuminate\Support\Facades\DB::statement("UPDATE `mainmenu` SET `link` = 'setting.header' WHERE `mainmenu`.`link` = 'setting.header1';");
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //doen't need drop statement
    }
};
