<?php

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

class AlterTablePaymentRefundId extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {        Schema::table('payment', function (Blueprint $table) {
                $table->dropColumn('refund_payment_id');
            });
            Schema::table('payment', function (Blueprint $table) {
                $table->string('refund_payment_id',1000)->nullable()->default('[]');
            });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
