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.

guarded

Andras Bacsai18c32decad65
diff --git a/app/Models/Environment.php b/app/Models/Environment.php
index 941586edd1..55dbeee945 100644
--- a/app/Models/Environment.php
+++ b/app/Models/Environment.php
@@ -7,11 +7,7 @@ use Illuminate\Database\Eloquent\Model;
class Environment extends Model
{
- protected $fillable = [
- 'name',
- 'project_id',
- ];
-
+ protected $guarded = [];
public function isEmpty()
{
return $this->applications()->count() == 0 &&