rails function migrate that will also migrate the test database