after voyage package installation with this command :
php artisan voyager:install
I needed to create admin user with this command :
php artisan voyager:admin [email protected] --create
and then entering the name and the password
The problem is after entering the username and the password it's returning this error
General error: 1364 Field 'employee_name' doesn't have a default value (SQL: insert into
employee
(
and I have already a database but with different naming convention for example: the users table I call it employee and the name field called employee_name
My question is , is there any way to map the expected fields in voyager with my actual fields in my database because I can't change them ?
Thanks in advance .