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