🆙 Final fix delete storage link to fix news_images and logs 🆙

This commit is contained in:
Remco
2026-01-07 20:29:24 +01:00
parent 65ea6c167f
commit acf2d7e661
447 changed files with 208 additions and 66965 deletions
@@ -1,38 +0,0 @@
<?php
namespace App\Models\Community\RareValue;
use App\Models\Game\Furniture\CatalogItem;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class WebsiteRareValue extends Model
{
protected $guarded = ['id', 'created_at', 'updated_at'];
protected function casts()
{
return [
'currency_type' => 'integer',
];
}
public function category(): BelongsTo
{
return $this->belongsTo(WebsiteRareValueCategory::class, 'category_id');
}
public function item(): BelongsTo
{
return $this->belongsTo(CatalogItem::class, 'item_id', 'item_ids');
}
public function isLimitedEdition(): bool
{
if (is_null($this->item)) {
return false;
}
return $this->item->limited_stack > 0;
}
}
@@ -1,16 +0,0 @@
<?php
namespace App\Models\Community\RareValue;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
class WebsiteRareValueCategory extends Model
{
protected $guarded = ['id', 'created_at', 'updated_at'];
public function furniture(): HasMany
{
return $this->hasMany(WebsiteRareValue::class, 'category_id');
}
}