mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Change recurring_expenses.last_sent_date from timestamp to date
This commit is contained in:
parent
7b7ee5084f
commit
40dbbb2ce2
@ -6,6 +6,7 @@ use App\Libraries\CurlUtils;
|
||||
use Carbon;
|
||||
use Str;
|
||||
use Cache;
|
||||
use Utils;
|
||||
use Exception;
|
||||
use App\Jobs\SendInvoiceEmail;
|
||||
use App\Models\Invoice;
|
||||
@ -195,6 +196,10 @@ class SendReminders extends Command
|
||||
|
||||
private function loadExchangeRates()
|
||||
{
|
||||
if (Utils::isNinjaDev()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->info('Loading latest exchange rates...');
|
||||
|
||||
$data = CurlUtils::get(config('ninja.exchange_rates_url'));
|
||||
|
@ -137,6 +137,7 @@ class AddMoreCustomFields extends Migration
|
||||
});
|
||||
|
||||
DB::statement('UPDATE gateway_types SET alias = "custom1", name = "Custom 1" WHERE id = 6');
|
||||
DB::statement('ALTER TABLE recurring_expenses MODIFY COLUMN last_sent_date DATE');
|
||||
}
|
||||
|
||||
/**
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user