database/migrations/2021_12_21_083725_create_accounts_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table("accounts", function (Blueprint $table) {
            $table->dropForeign(["contact_id"]);
        });
        Schema::dropIfExists("accounts");
    }
public function down ( ) { Schema :: table ( " accounts " , function ( Blueprint $ table ) { $ table -> dropForeign ( [ " contact_id " ] ) ; } ) ; Schema :: dropIfExists ( " accounts " ) ; }
Reverse the migrations.
Reverse the migrations .