You are here

function gathercontent_update_7301 in GatherContent 7.3

Change `content_type` and `data` fields from `gathercontent_mapping` table.

File

./gathercontent.install, line 300

Code

function gathercontent_update_7301() {
  db_change_field('gathercontent_mapping', 'content_type', 'content_type', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => FALSE,
    'default' => '',
  ));
  db_change_field('gathercontent_mapping', 'data', 'data', array(
    'type' => 'blob',
    'not null' => FALSE,
    'size' => 'big',
    'serialize' => TRUE,
  ));
}