Ted
Ted

Reputation: 4166

migrate Laravel Database using artisan

when try to migrate Laravel 4 with table 'user' in database using artisan:

php artisan migrate:make --table="user" CreateUserTable

I receive this error:

C:\xampp\htdocs\laravel>php artisan migrate:make --table=user CreateUserTable [21.04.2014 02:27:56 NOTICE] Successfully established connection to the database

[21.04.2014 02:27:56 NOTICE] Event Reporting is not allowed at the moment. Reaso ns: Pre Startup or Post Shutdown {"error":{"type":"Symfony\Component\HttpKernel\Exception\NotFoundHttpExcepti on","message":"","file":"C:\xampp\htdocs\laravel\vendor\laravel\framework\ \src\Illuminate\Foundation\Application.php","line":871}} C:\xampp\htdocs\laravel>

how to solve this?

thanks,

Upvotes: 2

Views: 413

Answers (2)

Muhammad Sadiq
Muhammad Sadiq

Reputation: 1155

to install all dependencies with composer. change directory to laravel folder in cmd and than type composer update and hit enter and wait until it is done.

Upvotes: 0

Ted
Ted

Reputation: 4166

I solved this by install all laravel dependences using composer (not download it from GithHub)

Upvotes: 3

Related Questions