<?php

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

class ChangeOwnerBillReportAddColumnTax extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table("owner_bill_reports",function (Blueprint $table){
           $table->decimal("storage_tax_fee",9,3)->nullable()->comment("仓储税费");
           $table->decimal("other_tax_fee",9,3)->nullable()->comment("其他税费");
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table("owner_bill_reports",function (Blueprint $table){
            $table->dropColumn("storage_tax_fee");
            $table->dropColumn("other_tax_fee");
        });
    }
}
