database/migrations/2021_12_21_100455_alter_users_table_add_account_id.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::disableForeignKeyConstraints();
        Schema::table("users", function (Blueprint $table) {
            $table->dropForeign(["account_id"]);
        });
        Schema::enableForeignKeyConstraints();
    }
public function down ( ) { Schema :: disableForeignKeyConstraints ( ) ; Schema :: table ( " users " , function ( Blueprint $ table ) { $ table -> dropForeign ( [ " account_id " ] ) ; } ) ; Schema :: enableForeignKeyConstraints ( ) ; }
Reverse the migrations.
Reverse the migrations .