Gijera

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.

Reply to

Use Markdown with GitHub-flavored code blocks.