Frage

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

War es hilfreich?

Lösung

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.

Andere Tipps

This has nothing to do with the artisan tool.

Delete all files and tables of the package, then try again.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top