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 B.
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
Oscar Del B. 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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs