You are here

function party_hat_update_7002 in Party 7

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

Make party_hat data field not 'not null'.

File

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

Code

function party_hat_update_7002() {
  $spec = array(
    'type' => 'blob',
    'size' => 'big',
    'not null' => FALSE,
    'serialize' => TRUE,
    'description' => 'Serialized data containing the field properties that do not warrant a dedicated column.',
  );
  db_change_field('party_hat', 'data', 'data', $spec);
}