diff --git a/custom_breadcrumbs.install b/custom_breadcrumbs.install index 279470f..42ab2b1 100644 --- a/custom_breadcrumbs.install +++ b/custom_breadcrumbs.install @@ -19,15 +19,12 @@ function custom_breadcrumbs_schema() { 'description' => 'Unique identifier for the {custom_breadcrumb}.', ), 'titles' => array( - 'type' => 'varchar', - 'length' => 255, + 'type' => 'text', 'not null' => TRUE, - 'default' => '', 'description' => 'A return-delimited list of titles for the breadcrumb links.', ), 'paths' => array( - 'type' => 'varchar', - 'length' => 255, + 'type' => 'text', 'not null' => FALSE, 'description' => 'A return-delimited list of url paths for the breadcrumb links.', ), @@ -59,3 +56,9 @@ function custom_breadcrumbs_update_6001() { function custom_breadcrumbs_update_6101() { db_drop_field('custom_breadcrumb', 'set_active_menu'); } + +// Larger text fields +function custom_breadcrumbs_update_6102() { + db_change_field('custom_breadcrumb', 'titles', 'titles', array('type' => 'text', 'not null' => TRUE)); + db_change_field('custom_breadcrumb', 'paths', 'paths', array('type' => 'text', 'not null' => FALSE)); +}