Modules/Tasks/Database/Migrations/2021_02_15_152114_update_tasks_table_add_task_status_id_column.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('tasks', function (Blueprint $table) {
            $table->dropForeign(['status_id']);
            $table->dropColumn('status_id');
        });
    }
public function down ( ) { Schema :: table ( 'tasks' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'status_id' ] ) ; $ table -> dropColumn ( 'status_id' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .