voyager: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'databasename.data_types' doesn't exist (SQL: select * from `data_types` where (`slug` = users) limit 1)
- Laravel Version: 5.5
- Voyager Version: ^1.1
- PHP Version:7.2
- Database Driver & Version:MYSQL
Description:
I’ve installed voyager using composer require tcg/voyager and then change APP_URL to my virtualhost.
Then i use php artisan voyager:install command to install voyager and this command gives me error like:
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘databasename.data_types’ doesn’t exist (SQL: select * from
data_typeswhere (slug= users) limit 1)
I don’t understand why this occurs?? Anyone have an ide?? Please help me! Thanks,
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (6 by maintainers)
https://laravel.com/docs/5.8/eloquent#eloquent-model-conventions