Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

how to create migration with uniqueness inrails

rails generate migration AddEmailToUsers email:string:uniq
Source by riptutorial.com #
 
PREVIOUS NEXT
Tagged: #create #migration #uniqueness #inrails
ADD COMMENT
Topic
Name
3+9 =