diff --git views.install views.install index 801eb1e..c073e58 100644 --- views.install +++ views.install @@ -395,3 +395,34 @@ function views_update_6008() { return $ret; } + +/** + * Enlarge the views_display.display_options field to accomodate a larger set + * of configurations (e. g. fields, filters, etc.) on a display. + */ +function views_schema_6009() { + $schema = views_schema(__FUNCTION__); + $schema['views_display']['fields']['display_options'] = array( + 'type' => 'text', + 'size' => 'big', + 'description' => 'A serialized array of options for this display; it contains options that are generally only pertinent to that display plugin type.', + 'serialize' => TRUE, + 'serialized default' => 'a:0:{}', + ); + return $schema; +} +function views_update_6009() { + $ret = array(); + + $new_field = array( + 'type' => 'text', + 'size' => 'big', + 'description' => 'A serialized array of options for this display; it contains options that are generally only pertinent to that display plugin type.', + 'serialize' => TRUE, + 'serialized default' => 'a:0:{}', + ); + + db_change_field($ret, 'views_display', 'display_options', 'display_options', $new_field); + + return $ret; +} \ No newline at end of file