Running migration on a specific db To run a migration on a specific db the db has to be set in the artisan command, setting it in the migration file doesnt seem to work php artisan migrate --path=/database/migrations/my_migration.php --database=my_database