<?php

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

class CreateInstallmentPlanAttributesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
       // Schema::dropIfExists('installment_plan_attributes');
        
        // Schema::create('installment_plan_attributes', function (Blueprint $table) {
        //     $table->increments('id');
        //     $table->integer('installment_plan_id')->unsigned();
        //     $table->foreign('installment_plan_id')->references('id')->on('installment_plans')->onDelete('cascade');
        //     $table->integer('payment_head_id')->unsigned();
        //     $table->foreign('payment_head_id')->references('id')->on('payment_heads')->onDelete('cascade');
            
        //     $table->float('value');
            
        //     $table->timestamps();
        // });
    }

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