You are here

function push_notifications_update_7005 in Push Notifications 7

Implements hook_update_n.

Increase size of payload field.

File

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

Code

function push_notifications_update_7005() {
  $table = 'push_notifications_queue';
  $field = 'payload';
  $field_new = array(
    'description' => 'Message',
    'type' => 'varchar',
    'length' => '2048',
    'not null' => TRUE,
  );
  db_change_field($table, $field, $field, $field_new);
}