You are here

function shoutbox_update_6201 in Shoutbox 7.2

Same name and namespace in other branches
  1. 6.2 shoutbox.install \shoutbox_update_6201()
  2. 7 shoutbox.install \shoutbox_update_6201()

Remove size restrictions on shout messages.

File

./shoutbox.install, line 162
Install, update and uninstall functions for the Shoutbox module.

Code

function shoutbox_update_6201() {
  $shout_spec = array(
    'type' => 'text',
    'size' => 'big',
    'not null' => TRUE,
    'description' => 'The shout post.',
  );
  db_change_field('shoutbox', 'shout', 'shout', $shout_spec);
}