You are here

function push_notifications_update_7003 in Push Notifications 7

Update the language field to allow 11 characters.

File

./push_notifications.install, line 184
Install files for Push Notifications module.

Code

function push_notifications_update_7003() {
  $table = 'push_notifications_tokens';
  $field = 'language';
  $language_new = array(
    'description' => 'Language',
    'type' => 'varchar',
    'length' => 11,
    'not null' => TRUE,
  );
  db_change_field($table, $field, $field, $language_new);
}