You are here

function subscriptions_mail_update_7000 in Subscriptions 2.0.x

Same name and namespace in other branches
  1. 7 subscriptions_mail.install \subscriptions_mail_update_7000()

Database update function 7000: Extend the {mail_edit} table.

File

subscriptions_mail/subscriptions_mail.install, line 83
Subscriptions Mail module installation.

Code

function subscriptions_mail_update_7000() {
  if (db_table_exists('mail_edit') && !db_field_exists('mail_edit', 'subscriptions_comment_body')) {

    // Add column to {mail_edit} table.
    _subscriptions_mail_extend_mail_edit();
  }
}