<?php

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

class {{ class }} extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table($this->getModelTable(null,$this->getTableName()), function (Blueprint $table) {
            //
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table($this->getModelTable(null,$this->getTableName()), function (Blueprint $table) {
            //
        });
    }
    /**
     * @return mixed
     */
    public function getTableName()
    {
        return "{{ table }}";
    }
}
