Fixes for migrations

This commit is contained in:
David Bomba 2021-01-12 09:14:52 +11:00
parent 63087de0bc
commit 3cb4585880
2 changed files with 1 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class CreditCard
if ($server_response->status == 'succeeded') {
$this->stripe->confirmGatewayFee($request);
$this->stripe->logSuccessfulGatewayResponse(['response' => $request->gateway_response, 'data' => $this->stripe->payment_has], SystemLog::TYPE_STRIPE);
$this->stripe->logSuccessfulGatewayResponse(['response' => json_decode($request->gateway_response), 'data' => $this->stripe->payment_hash], SystemLog::TYPE_STRIPE);
return $this->processSuccessfulPayment();
}

View File

@ -39,7 +39,6 @@ class FixCompanySettingsUrl extends Migration
});
Schema::table('expenses', function (Blueprint $table) {
$table->dropColumn('expense_amount_is_pretax');
$table->dropColumn('amount_is_pretax');
$table->boolean('calculate_tax_by_amount')->default(false);
});