diff --git a/modules/aggregator/aggregator.install b/modules/aggregator/aggregator.install index eecd14f..35444e3 100644 --- a/modules/aggregator/aggregator.install +++ b/modules/aggregator/aggregator.install @@ -226,10 +226,9 @@ function aggregator_schema() { 'description' => 'The {aggregator_feed}.fid to which this item belongs.', ), 'title' => array( - 'type' => 'varchar', - 'length' => 255, + 'type' => 'text', + 'size' => 'normal', 'not null' => TRUE, - 'default' => '', 'description' => 'Title of the feed item.', ), 'link' => array( @@ -278,3 +277,10 @@ function aggregator_schema() { return $schema; } + +/** + * Update 'title' column of {aggregator_item} to TEXT column type. + */ +function aggregator_update_8000() { + db_query('ALTER TABLE {aggregator_item} MODIFY title TEXT'); +} diff --git a/modules/aggregator/tests/aggregator_test_rss091.xml b/modules/aggregator/tests/aggregator_test_rss091.xml index 1fd5320..f39a273 100644 --- a/modules/aggregator/tests/aggregator_test_rss091.xml +++ b/modules/aggregator/tests/aggregator_test_rss091.xml @@ -22,7 +22,7 @@ First example feed item description. - Second example feed item title + Second example feed item title. This title is extremely long so that it exceeds the 255 character limit for titles in feed item storage. In fact it's so long that this sentence isn't long enough so I'm rambling a bit to make it longer, nearly there now. Ah now it's long enough so I'll shut up. http://example.com/example-turns-two Second example feed item description.