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