Hey everybody
I just noticed that rake db:setup doesn't seem to run migrations on the test db (although it creates it if it's not existing)?! Is this normal behavior? And if so, why?
Thanks for help, Josh
Hey everybody
I just noticed that rake db:setup doesn't seem to run migrations on the test db (although it creates it if it's not existing)?! Is this normal behavior? And if so, why?
Thanks for help, Josh
You should use rake db:test:prepare
Oscar Del Ben wrote in post #1064417:
You should use rake db:test:prepare
That's clear to me, I just find it strange that although db:setup creates a test db for me and runs migrations on the development db, it doesn't run the migrations on the test db.