Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

PG::DatatypeMismatch: ERROR: column "price" cannot be cast automatically to type numeric HINT: You might need t

change_column :items, :price, :integer, using: 'price::integer'
 
PREVIOUS NEXT
Tagged: #column #cast #automatically #type #numeric #You
ADD COMMENT
Topic
Name
7+5 =