AddIsReportDefault::up PHP 메소드

up() 공개 메소드

Run the migrations.
public up ( )
    public function up()
    {
        Schema::table('check_urls', function (Blueprint $table) {
            $table->boolean('is_report')->default(true)->change();
        });
    }
AddIsReportDefault