You are here

function messaging_update_6006 in Messaging 6.3

Same name and namespace in other branches
  1. 6.4 messaging.install \messaging_update_6006()

Some table renaming

File

./messaging.install, line 332

Code

function messaging_update_6006() {
  $ret = array();
  db_add_field($ret, 'messaging_store', 'data', array(
    'type' => 'text',
    'not null' => FALSE,
    'size' => 'big',
    'serialize' => TRUE,
  ));
  db_add_field($ret, 'messaging_store', 'language', array(
    'type' => 'varchar',
    'length' => 12,
    'not null' => TRUE,
    'default' => '',
  ));
  db_add_field($ret, 'messaging_store', 'sender_address', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  ));
  return $ret;
}