Cast the user ID to int in the sb model (#1277)
This commit is contained in:
@@ -41,6 +41,10 @@ class SimBrief extends Model
|
|||||||
'updated_at',
|
'updated_at',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
protected $casts = [
|
||||||
|
'user_id' => 'integer',
|
||||||
|
];
|
||||||
|
|
||||||
/** @var \App\Models\SimBriefXML Store a cached version of the XML object */
|
/** @var \App\Models\SimBriefXML Store a cached version of the XML object */
|
||||||
private $xml_instance;
|
private $xml_instance;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user