function party_hat_update_7006 in Party 8.2
Same name and namespace in other branches
- 7 modules/party_hat/party_hat.install \party_hat_update_7006()
Add a description field to party hats.
File
- modules/
party_hat/ party_hat.install, line 313 - Contains install hooks for the party hat module..
Code
function party_hat_update_7006() {
$field = array(
'description' => 'Some text describing the purpose of the hat',
'type' => 'text',
'not null' => TRUE,
'size' => 'medium',
'translatable' => TRUE,
);
db_add_field('party_hat', 'description', $field);
}