Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails change column type string to integer

change_column :people, :company_id, :integer
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #change #column #type #string #integer
ADD COMMENT
Topic
Name
5+6 =