<?php

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

class CreateInventoryCategoriesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        // Schema::create('inventory_categories', function (Blueprint $table) {
        //     $table->increments('id');
        //     $table->integer('inventory_id')->unsigned();
        //     $table->foreign('inventory_id')->references('id')->on('inventories')->onDelete('cascade');
        //     $table->integer('plot_category_id')->unsigned();
        //     $table->foreign('plot_category_id')->references('id')->on('plot_categories')->onDelete('cascade');
        //     $table->double('amount')->nullable();

        //     $table->timestamps();
        // });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('inventory_categories');
    }
}
