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.

rename again

Andras Bacsai6e72889294fb
diff --git a/app/Models/Application.php b/app/Models/Application.php
index c4541e48ae..19ae1d9a67 100644
--- a/app/Models/Application.php
+++ b/app/Models/Application.php
@@ -42,11 +42,11 @@ class Application extends BaseModel
];
public $casts = [
- 'previews' => SchemalessAttributes::class,
+ 'extra_attributes' => SchemalessAttributes::class,
];
public function scopeWithExtraAttributes(): Builder
{
- return $this->previews->modelScope();
+ return $this->extra_attributes->modelScope();
}
public function publishDirectory(): Attribute
{