laravel/database/migrations/2019_08_17_185837_add_category_to_projects_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('projects', function (Blueprint $table) {
            $table->dropForeign('projects_category_id_foreign');
            $table->dropColumn('category_id');
        });
    }
public function down ( ) { Schema :: table ( 'projects' , function ( Blueprint $ table ) { $ table -> dropForeign ( 'projects_category_id_foreign' ) ; $ table -> dropColumn ( 'category_id' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .