database/migrations/2018_08_20_103813_add_parent_id_to_subcategories_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('subcategories', function (Blueprint $table) {
            $table->dropColumn(['parent_subcat_id']);
        });
    }
public function down ( ) { Schema :: table ( 'subcategories' , function ( Blueprint $ table ) { $ table -> dropColumn ( [ 'parent_subcat_id' ] ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .