You are here

function twitter_block_update_7201 in Twitter Block 7.2

Add a column to the {twitter_block} table to store the Twitter account username.

File

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

Code

function twitter_block_update_7201() {
  db_add_field('twitter_block', 'username', array(
    'type' => 'varchar',
    'length' => 128,
    'not null' => TRUE,
    'default' => '',
    'description' => 'Account username.',
  ));
}