AddExpenseToActivities::down PHP Method

down() public method

Reverse the migrations.
public down ( ) : void
return void
    public function down()
    {
        Schema::table('activities', function ($table) {
            $table->dropColumn('expense_id');
        });
        Schema::table('accounts', function ($table) {
            $table->dropColumn('financial_year_start');
            $table->dropColumn('enabled_modules');
            $table->dropColumn('enabled_dashboard_sections');
            $table->dropColumn('show_accept_invoice_terms');
            $table->dropColumn('show_accept_quote_terms');
            $table->dropColumn('require_invoice_signature');
            $table->dropColumn('require_quote_signature');
        });
        Schema::table('payments', function ($table) {
            $table->dropColumn('credit_ids');
        });
    }
AddExpenseToActivities