Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

how to remove columns from rails

rails generate migration RemoveFieldNameFromTableName field_name:datatype

remove_column :table_name, :column_name
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #columns #rails
ADD COMMENT
Topic
Name
6+9 =