views:

40

answers:

2

Hello,

Im using ruby on rails with a mysql db in the back. I realized, that the characters are limited up to about 277 per column entry...

How can I increase this?

Thanks, Markus

A: 

Changing the field type from text to mediumtext would allow you to enter more characters

PK

Pavan
+2  A: 

change_column :the_table_name, :the_column_name, :string, :limit => 1024 # where 1024 is your desired limit

Ransom Briggs