mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 15:55:14 +00:00
19 lines
No EOL
320 B
PHP
19 lines
No EOL
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);
|
|
}
|
|
} |