Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

change column rails example

def change
    change_column(:table_name, :column_name, :new_type)
end
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #column #rails
ADD COMMENT
Topic
Name
8+5 =