You are here

function party_simplenews_update_7004 in Party 8.2

Add data field so that the entity will actually save

File

modules/party_simplenews/party_simplenews.install, line 70
Install information for Party Simplenews module

Code

function party_simplenews_update_7004() {
  db_add_field('party_subscription_settings', 'data', array(
    'description' => 'An of settings to do with this partys subscription',
    'type' => 'text',
    'not null' => FALSE,
    'size' => 'big',
    'serialize' => TRUE,
  ));
}