You are here

function shoutbox_update_6202 in Shoutbox 7.2

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

Add module field to the schema.

File

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

Code

function shoutbox_update_6202() {
  $module_spec = array(
    'type' => 'varchar',
    'length' => 64,
    'not null' => TRUE,
    'description' => 'The module that this shout belongs to.',
    'initial' => 'shoutbox',
  );
  db_add_field('shoutbox', 'module', $module_spec);
}