Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: add datetime cast to finished_at column (#7418)

Muhammed Mustafa AKŞAMcbf412ea3539
diff --git a/app/Models/ApplicationDeploymentQueue.php b/app/Models/ApplicationDeploymentQueue.php
index 4e8eee10fc..34257e7a77 100644
--- a/app/Models/ApplicationDeploymentQueue.php
+++ b/app/Models/ApplicationDeploymentQueue.php
@@ -41,6 +41,10 @@ class ApplicationDeploymentQueue extends Model
{
protected $guarded = [];
+ protected $casts = [
+ 'finished_at' => 'datetime',
+ ];
+
public function application()
{
return $this->belongsTo(Application::class);