I am following Laravel documentation for creating Authentication system.
laravel new my-project
cd my-project
). Edit the database config file with database credentials.php artisan make:auth
. All migration php files are created.php artisan migrate
. CLI responds with nothing to migrate
So I went back to check the database using phpmyadmin. I do not see any migration table.
laravel/homestead
v1.3.5
, by cli command laravel -v
v5.4.16
, from composer.lock
Can anyone point me to the right direction?
Configure your database in .env
file
DB_HOST=127.0.0.1
DB_DATABASE=DbName //Your DB Name
DB_USERNAME=root
DB_PASSWORD=password123
Also, you can try this:
php artisan migrate:install
which creates the migrations table only
php artisan migrate
runs your other migrations