You are here

function twitter_block_update_7102 in Twitter Block 7

Add a retweet field to the {twitter_block} table.

File

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

Code

function twitter_block_update_7102() {
  $new_field = array(
    'description' => 'Whether retweets should be included in the search results. (1 = enabled, 0 = disabled)',
    'type' => 'int',
    'not null' => TRUE,
    'default' => 1,
    'size' => 'tiny',
  );
  db_add_field('twitter_block', 'include_rts', $new_field);
  return t('Added a retweet field to the {twitter_block} table.');
}