In Rails, if I create & run a migration which used to add one new column to a table, then, the table will have a new column in the development database.
But, how could the test database also be updated/noticed to have the new column in the table ? Do I need to explicitly switch to test environment from console and run the migration again in test environment?
Try
bundle exec rake db:test:prepareafter complete migrations on the development database.