Skip to content

Commit 3875bea

Browse files
committed
fix: Change User model fillable field from 'fullname' to 'name'
This commit fixes an inconsistency between: - User model (using 'fullname') - Migration template (using 'name') - Schema JSON example (using 'name') This ensures consistent field naming across the framework.
1 parent 5a3ad42 commit 3875bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class User extends Model
99
* @var array
1010
*/
1111
protected $fillable = [
12-
'fullname', 'email', 'password',
12+
'name', 'email', 'password',
1313
];
1414

1515
/**

0 commit comments

Comments
 (0)