database/migrations/2022_05_29_025902_add_assigned_by_to_notifications.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('notifications', function (Blueprint $table) {
            $table->dropForeign(['assigned_by']);
            $table->dropColumn('assigned_by');
        });
    }
public function down ( ) { Schema :: table ( 'notifications' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'assigned_by' ] ) ; $ table -> dropColumn ( 'assigned_by' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .