VikramB
1 year ago
363
5
Nova

Create Nova User on custom User table

Posted 1 year ago by VikramB

When I try to create my first nova user using

php artisan nova:user on my User table having an additional name field, nova squawks with an error

Column not found: 1054 Unknown column 'name' in 'field list'

My User table looks like this

id, role_id, username, firstname, lastname, email etc

How and where would I have to tell Nova that my User table has additional fields. Is there a migration for the nova:user that lets me customize ?

Please sign in or create an account to participate in this conversation.