Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails add index from console

ActiveRecord::Migration.add_column :table_name, :field_name, :field_type
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #add #index #console
ADD COMMENT
Topic
Name
8+8 =