fix: remove HasTranslations trait, use translations JSON in models + seeders

This commit is contained in:
DevOps committed 2026-06-28 17:37:08 +00:00
1 parent ebd4bd19ed
commit 223a4f5640
9 files changed
+214 -77

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ class Service extends Model
use HasFactory;
protected $table = 'website_services';
protected $fillable = ['imageSrc'];
protected $fillable = ['imageSrc',
'translations'];
protected $casts = [
'translations' => 'array',