Cast the user ID to int in the sb model (#1277)

This commit is contained in:
Nabeel S
2021-08-09 13:54:40 -04:00
committed by GitHub
parent 4125cdd373
commit c250fce84b

View File

@@ -41,6 +41,10 @@ class SimBrief extends Model
'updated_at',
];
protected $casts = [
'user_id' => 'integer',
];
/** @var \App\Models\SimBriefXML Store a cached version of the XML object */
private $xml_instance;