coderflexx / laravisit

A package to keep track of your pages & understand your audience

Home Page:https://coderflex.com/open-source/docs/laravisit/introduction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cant migrate db

noelkalel opened this issue · comments

after installing package, cant migrate db, any clue?

s11

I see no issues in your screenshot.

Did you published the migration file?

yes i did, same thing again, check ss.

image

I just tested it, and everything works for me with no errors!

It seems the package was not installed in your application, could you please provide me with your Laravel Version from your app?

Also, try to re-install the package, and delete the config/laravisit.php and /database/migrations/2022_06_18_162713_create_laravisits_table.php files, then try again with:

composer require coderflexx/laravisit
php artisan vendor:publish --provider="Coderflex\\Laravisit\\LaravisitServiceProvider"
php artisan migrate

after creating fresh laravel app, and pulling your package, there is no config/laravisit.php file at all, check first ss.
image

and this is php version.
image

it seems like package is not installed at all on my machine.

composer require coderflexx/laravisit
php artisan vendor:publish --provider="Coderflex\\Laravisit\\LaravisitServiceProvider"
php artisan migrate

Just try to publish the vendor file, and you are good to go.

Closing this issue for now, and If you have any issues, feel free to re-open it