radiant/radiant — Issue #309: allowed_children_cache too small
Author: jfahrenkrug
Created: 2012-01-13 19:58:38+00:00
State: open

Hi,

running https://github.com/radiant/radiant/blob/master/db/migrate/20110902203823_add_allowed_children_cache_to_pages.rb on an IBM DB2 database fails for some setups: The string that will be saved in the new column easily exceeds 255 chars. The IBM DB ActiveRecord adapter turns "string" into "VARCHAR(255)". So I think we should add a sensible ":limit" option, maybe 1000 or 1500. What do you think?

- Johannes