You are here

function messaging_update_6013 in Messaging 6.4

Fix template_parts table, may be missing new field depending on update path

File

./messaging.install, line 414

Code

function messaging_update_6013() {
  $ret = array();
  if (db_table_exists('messaging_message_parts') && !db_column_exists('messaging_message_parts', 'format')) {
    module_load_install('messaging_template');
    $ret = messaging_template_update_6002();
  }
  return $ret;
}