mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
Merge pull request #7685 from turbo124/v5-stable
Fixes for react migration
This commit is contained in:
commit
bc244ee633
@ -13,14 +13,20 @@ return new class extends Migration
|
|||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
$df = App\Models\DateFormat::find(7);
|
if($df = App\Models\DateFormat::find(7))
|
||||||
$df->format_moment = 'ddd MMM D, YYYY';
|
{
|
||||||
$df->save();
|
|
||||||
|
|
||||||
$df = App\Models\DateFormat::find(14);
|
$df->format_moment = 'ddd MMM D, YYYY';
|
||||||
$df->format_moment = 'DD/MM/YYYY';
|
$df->save();
|
||||||
$df->save();
|
}
|
||||||
|
|
||||||
|
if($df = App\Models\DateFormat::find(14))
|
||||||
|
{
|
||||||
|
|
||||||
|
$df->format_moment = 'DD/MM/YYYY';
|
||||||
|
$df->save();
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user