Reputation: 3596
this is the package i'm going to install but then i missed a step of populate the table before generate the config
https://github.com/Torann/laravel-currency
end up all the command i typed returning me the following line
{"error":{"type":"Exception","message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'abc.currency' doesn't exist (SQL: select * from `currency`) (Bindings: array (\n))","file":"\/Users\/Me\/Development\/RoomQuickly\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","line":556}}
I did dump-autoload or even composer update but still couldn't get rid of it. any idea? Thanks
Upvotes: 0
Views: 5653
Reputation: 87789
Try to execute:
php artisan migrate --package=torann/currency
It should create the tables for you.
This step was missing from the Readme I've just sent a pull request to add it.
Upvotes: 1
Reputation: 451
This has nothing to do with the artisan tool.
Delete all files and tables of the package, then try again.
Upvotes: 0