1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-22 07:42:41 +00:00

Add FailedJob model

This commit is contained in:
Daniel Supernault 2019-01-31 12:56:20 -07:00
parent 261e95e772
commit 6bad723b68
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

19
app/FailedJob.php Normal file
View file

@ -0,0 +1,19 @@
<?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);
}
}