mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
320 B
PHP
19 lines
320 B
PHP
<?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);
|
|
}
|
|
} |