database/migrations/2022_04_25_174224_add_order_id_to_payments.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('payments', function (Blueprint $table) {
            $table->dropColumn('order_id');
            $table->dropColumn('razorpay_id');
            $table->dropColumn('name');
            $table->dropColumn('email');
            $table->dropColumn('contact_no');
            $table->dropColumn('currency');
        });
    }
public function down ( ) { Schema :: table ( 'payments' , function ( Blueprint $ table ) { $ table -> dropColumn ( 'order_id' ) ; $ table -> dropColumn ( 'razorpay_id' ) ; $ table -> dropColumn ( 'name' ) ; $ table -> dropColumn ( 'email' ) ; $ table -> dropColumn ( 'contact_no' ) ; $ table -> dropColumn ( 'currency' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .