jeudi 27 août 2015

I run "rails g devise User" 2 times by mistake

While building a new application, "I run rails g devise User" 2 timesby mistake and now I get "ActiveRecord::PendingMigrationError, Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development " error. When I rake db:migrate, I get duplicate columns error from SQLite. How to handle with this?

Aucun commentaire:

Enregistrer un commentaire