I have noticed that when
RAILS_ENV=development (which is the default when in development)
rails db:drop and
rails db:create tasks run on both the development, and test databases (drop, and create databases for both test and development environment).
You can see this documented here.
rails:db:migrate however, only runs on the development database, so test environment is excluded.
Is there any reason why these commands interact with
RAILS_ENV differently? If not, I would love to see
db:migrate, migrate the test database as well, to save the step of running another command