Mysql strings only get saved up to about 277 char
Im using ruby on rails with a mysql db in the back. I realize开发者_开发问答d, that the characters are limited up to about 277 per column entry...
How can I increase this?
Thanks, Markus
change_column :the_table_name, :the_column_name, :string, :limit => 1024 # where 1024 is your desired limit
Changing the field type from text to mediumtext would allow you to enter more characters
PK
精彩评论