PostgreSQL string (255) limit - Rails, Ruby e Heroku
Então eu tenho umcomments
tabela estruturada assim:
# == Schema Information
#
# Table name: comments
#
# id :integer not null, primary key
# body :string(255)
# notified :boolean
# user_id :integer
# stage_id :integer
# created_at :datetime
# updated_at :datetime
# client_id :integer
# author :string(255)
Esta é a mensagem de erro que estou recebendo:
ActiveRecord::StatementInvalid (PGError: ERROR: value too long for type character varying(255)
Como armazenar texto longo em uma coluna PG usando o Rails 3.xe o Herok
Como seria a migração para corrigir esse problema?
Obrigado