When I change my database, it is invalid

Posted 1 year ago by Gijera

Hi, I am used Laravel 5.1. When I change my database to test( I create a new database to test), I reconfigured the database file, include .env and config/database.php, but when I input "php artisan migrate", it said 'nothing to migrate', Why is that?

this is my .env file

DB_CONNECTION=test_mysql
DB_HOST=127.0.0.1
DB_DATABASE=blog_testing
DB_USERNAME=root
DB_PASSWORD=

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.