You are here

function twitter_update_7502 in Twitter 7.5

Same name and namespace in other branches
  1. 7.6 twitter.install \twitter_update_7502()

Add entities field to the twitter post table.

File

./twitter.install, line 462
Install, update and uninstall functions for the twitter module.

Code

function twitter_update_7502(&$sandbox) {
  if (!db_field_exists('twitter', 'entities')) {
    db_add_field('twitter', 'entities', array(
      'type' => 'blob',
      'not null' => FALSE,
      'size' => 'big',
      'serialize' => TRUE,
      'description' => 'A serialized array of {twitter} post entities.',
    ));
  }
}