CreateGatewayTypes::down PHP Method

down() public method

Reverse the migrations.
public down ( ) : void
return void
    public function down()
    {
        Schema::table('payment_types', function ($table) {
            $table->dropForeign('payment_types_gateway_type_id_foreign');
            $table->dropColumn('gateway_type_id');
        });
        Schema::dropIfExists('account_gateway_settings');
        Schema::dropIfExists('gateway_types');
    }
CreateGatewayTypes