Hello,
I would like to make a column unique in Rails migration script. What is the best way to do it? Also is there a way to index a column in table?
I would like to enforce unique columns in database as opposed to just using :validate_uniqueness_of
Thanks,
Tam