KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to make a column unique in Ruby on Rails migration script. What is the best way to do it? Also is there a way to index a column in a table? I would like to enforce unique columns in a database as opposed to just using :validate_uniqueness_of .
Tags (comma-separated)
Save Edits
Cancel