function shoutbox_update_6202 in Shoutbox 6.2
Same name and namespace in other branches
- 7.2 shoutbox.install \shoutbox_update_6202()
- 7 shoutbox.install \shoutbox_update_6202()
Add module field to the schema
File
- ./
shoutbox.install, line 109 - Shoutbox module install file.
Code
function shoutbox_update_6202() {
$items = array();
$items[] = update_sql("ALTER TABLE {shoutbox} ADD module varchar(64)");
// Default all available shouts to belong to shoutbox
db_query("UPDATE {shoutbox} SET module = 'shoutbox'");
return $items;
}