You are here

function party_hat_update_7007 in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_hat/party_hat.install \party_hat_update_7007()

Add a parent field to the party hat table

File

modules/party_hat/party_hat.install, line 328
Contains install hooks for the party hat module..

Code

function party_hat_update_7007() {
  $spec = array(
    'description' => "The machine readable name of the hat's parent",
    'type' => 'varchar',
    'length' => '255',
    'not null' => TRUE,
    'default' => '',
  );
  db_add_field('party_hat', 'parent', $spec);
}