You are here

function twitter_block_update_7100 in Twitter Block 7

Add a language field to the {twitter_block} table.

File

./twitter_block.install, line 88
Install, update and uninstall functions for the twitter_block module.

Code

function twitter_block_update_7100() {
  $new_field = array(
    'description' => 'Optional Twitter language filter.',
    'type' => 'varchar',
    'length' => 6,
  );
  db_add_field('twitter_block', 'lang', $new_field);
  return t('Added a language field to the {twitter_block} table.');
}