Ruby on Rails Tuesday, November 26, 2019

You can run rails db:reset then

El mar., 26 nov. 2019 05:37, Hasan Diwan <hasan.diwan@gmail.com> escribió:
[response inline]

On Tue, 26 Nov 2019 at 00:00, fugee ohu <fugee279@gmail.com> wrote:
Complains that users table already exists 

bundle exec rails db:drop db:create db:migrate db:schema:load 

Seems you had a mistake in a migration. So, you need to reset your database to pristine state and start again. Hope this helps! -- H

--
If you wish to request my time, please do so using bit.ly/hd1AppointmentRequest.
Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest.

Sent from my mobile device
Envoye de mon portable

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAP%2BbYWDPz0-BRfO5ohk%3DT76WKCb6JYhyqudqzqznnEBcQ0eOkQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcDSv9nTPNNmz3cjdXy4eLDB2ZU9%2B1LLz0-DVS6QV-PWGg%40mail.gmail.com.

No comments:

Post a Comment