You are here

function views_revisions_update_7100 in Views Revisions 7

Change the data column's size from normal to medium.

File

./views_revisions.install, line 52

Code

function views_revisions_update_7100(&$sandbox) {
  db_change_field('views_revisions', 'data', 'data', array(
    'type' => 'text',
    'size' => 'medium',
    'not null' => TRUE,
  ));
  return t('Updated the "Views Revisions" module.');
}