fix: add datetime cast to finished_at column (#7418)
This commit is contained in:
parent
cc3e39db1f
commit
cbf412ea35
1 changed files with 4 additions and 0 deletions
|
|
@ -41,6 +41,10 @@ class ApplicationDeploymentQueue extends Model
|
||||||
{
|
{
|
||||||
protected $guarded = [];
|
protected $guarded = [];
|
||||||
|
|
||||||
|
protected $casts = [
|
||||||
|
'finished_at' => 'datetime',
|
||||||
|
];
|
||||||
|
|
||||||
public function application()
|
public function application()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Application::class);
|
return $this->belongsTo(Application::class);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue