You are here

function party_update_7021 in Party 7

Add a default value to party labels.

File

./party.install, line 152
Contains install hooks for the CRM party module.

Code

function party_update_7021() {
  db_change_field('party', 'label', 'label', array(
    'description' => 'A label for the party. This is generated by one of a number of plugins.',
    'type' => 'varchar',
    'length' => '255',
    'not null' => TRUE,
    'default' => 'No Label Yet',
  ));
}