Laravel auto casts the id column to int for us
This commit is contained in:
@@ -25,7 +25,6 @@ class IncidentTemplate extends Model
|
||||
* @var string[]
|
||||
*/
|
||||
protected $casts = [
|
||||
'id' => 'int',
|
||||
'name' => 'string',
|
||||
'template' => 'string',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user