Optimise product tables
This commit is contained in:
@@ -35,8 +35,8 @@ return new class extends Migration
|
||||
$o->created_at = \Carbon\Carbon::createFromTimestamp($o->date_orig);
|
||||
if ($o->date_last)
|
||||
$o->updated_at = \Carbon\Carbon::createFromTimestamp($o->date_last);
|
||||
if ($o->due_date)
|
||||
$o->due_at = \Carbon\Carbon::createFromTimestamp($o->due_date);
|
||||
if ($o->getRawOriginal('due_date'))
|
||||
$o->due_at = \Carbon\Carbon::createFromTimestamp($o->getRawOriginal('due_date'));
|
||||
if ($o->reminders) {
|
||||
try {
|
||||
$reminders = unserialize($o->reminders);
|
||||
|
Reference in New Issue
Block a user