Remove binary attributes from DB, should be json columns
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Models\Service;
|
||||
|
||||
use App\Casts\CollectionOrNull;
|
||||
use App\Models\SupplierHostServer;
|
||||
use App\Traits\ServiceDomains;
|
||||
|
||||
@@ -13,6 +14,10 @@ class Host extends Type
|
||||
{
|
||||
use ServiceDomains;
|
||||
|
||||
protected $casts = [
|
||||
'server_data' => CollectionOrNull::class,
|
||||
];
|
||||
|
||||
protected $table = 'service_host';
|
||||
protected $with = [
|
||||
'tld',
|
||||
|
Reference in New Issue
Block a user