<?php

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

class AddAuthorityRejectedIndexGeneralUpdateIsLoaded extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        \App\Authority::query()->firstOrCreate(["name" => "退货管理-查询-一般-修改入库"],["alias_name"=>"退货管理-查询-一般-修改入库"]);
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        \App\Authority::query()->where('name', '退货管理-查询-一般-修改入库')->delete();
    }
}
