kamal
kamal

Reputation: 35

Error while running again php artisan session:table command in Laravel 5.2

I am beginner to Laravel, when i run the command "php artisan session:table" first time it successfully created the session migration but unfortunately i have deleted this file. Now when running again this command "php artisan session:table" its getting error. error

Please tell me where laravel stores that information that session migration is already created.

Regards, Kamal

Upvotes: 0

Views: 437

Answers (1)

KmasterYC
KmasterYC

Reputation: 2364

Delete CreateSessionsTable migration in this folder

database/migrations

Run

composer dump-autoload

Then you can run

php artisan session:table 

again.

Upvotes: 0

Related Questions