Remove binary attributes from DB, should be json columns
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
use App\Casts\CollectionOrNull;
|
||||
use App\Traits\SiteID;
|
||||
|
||||
class UserOauth extends Model
|
||||
@@ -13,7 +14,7 @@ class UserOauth extends Model
|
||||
protected $table = 'user_oauth';
|
||||
|
||||
protected $casts = [
|
||||
'oauth_data'=>'json',
|
||||
'oauth_data' => CollectionOrNull::class,
|
||||
];
|
||||
|
||||
public function User()
|
||||
|
Reference in New Issue
Block a user