Adds the langcode field to {aggregator_item} and {aggregator_feed}.
function aggregator_update_8001() {
// Add the field.
db_add_field('aggregator_feed', 'langcode', array(
'description' => 'The {language}.langcode of this feed.',
'type' => 'varchar',
'length' => 12,
'not null' => TRUE,
'default' => '',
'initial' => Language::LANGCODE_DEFAULT,
));
db_add_field('aggregator_item', 'langcode', array(
'description' => 'The {language}.langcode of this feed item.',
'type' => 'varchar',
'length' => 12,
'not null' => TRUE,
'default' => '',
'initial' => Language::LANGCODE_DEFAULT,
));
}