hasMany(Environment::class); } public function settings() { return $this->hasOne(ProjectSetting::class); } }