fix: remove HasTranslations trait, use translations JSON in models + seeders
This commit is contained in:
1 parent
ebd4bd19ed
commit
223a4f5640
9 files changed
+214
-77
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user