You are here

function messaging_update_6006 in Messaging 6.4

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

Create destination table

2 string references to 'messaging_update_6006'
messaging_update_6009 in ./messaging.install
Drop unique key for method, address and update table
messaging_update_6010 in ./messaging.install
Update destination type

File

./messaging.install, line 332

Code

function messaging_update_6006() {
  $ret = array();
  $table = drupal_get_schema('messaging_destination', TRUE);
  db_create_table($ret, 'messaging_destination', $table);

  // Mark this update so we know we don't have to update this table
  variable_set('messaging_update_6006', 1);
  return $ret;
}