Yes, @zporter is correct you should use a database text field here. Here's all the list of Rails supported data types: http://guides.rubyonrails.org/migrations.html#supported-types Here's the docs on data types for MySQL: http://dev.mysql.com/doc/refman/5.7/en/data-types.html