0

I am using ruby on rails for a class and had to make a model class that contained a name, gender, age, and homepage. The I run the rails db:migrate command nothing happens

josephs-mbp:Soccer jmurphy$ rails db:migrate
josephs-mbp:Soccer jmurphy$ 

All the other model classes have migrations.

John Bome
  • 51
  • 1
  • 2
  • 4
  • rails db:migrate only works on Rails 5 > .. if you are using a lower version of Rails use 'rake db:migrate' instead. – luissimo Sep 19 '16 at 23:08
  • make sure you are running the `rails db:migrate` command from within your application root folder. – Imran Ali Sep 19 '16 at 23:13
  • Possible duplicate of [Rails rake db:migrate has no effect](http://stackoverflow.com/questions/5598221/rails-rake-dbmigrate-has-no-effect) – Imran Ali Sep 19 '16 at 23:22

0 Answers0