So I've created a model named User and email has been required on it, but I'd like to make that unique before I potentially deploy my app. I'm extremely new to rails but I've looked around for this scenario and I've only found things that allow you to add NEW columns and specify them as unique.
Any help is appreciated. I'm not sure if I should be doing this from the rails console or by adding
validates_uniqueness_of :email
to my Model or what exactly.
I've tried that and ran rake db:migrate and nothing has happened.
Thanks in advance!
A Python Guy :P