<?php

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

return new class extends Migration
{
    public function up()
    {
        Schema::table('partner_offline_orders', function (Blueprint $table) {
            //
            $table->string('bind_qrcode')->default('')->after('order_id');
        });
    }

    public function down()
    {
        Schema::table('partner_offline_orders', function (Blueprint $table) {
            //
            $table->dropColumn('bind_qrcode');
        });
    }
};