1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/FailedJob.php

19 lines
320 B
PHP
Raw Permalink Normal View History

2019-01-31 19:56:20 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Carbon\Carbon;
class FailedJob extends Model
{
const CREATED_AT = 'failed_at';
const UPDATED_AT = 'failed_at';
public $timestamps = 'failed_at';
public function getFailedAtAttribute($val)
{
return Carbon::parse($val);
}
}