You are here

function patterns_update_6100 in Patterns 6.2

Same name and namespace in other branches
  1. 6 patterns.install \patterns_update_6100()

Implementation of hook_update_N().

File

./patterns.install, line 101

Code

function patterns_update_6100() {
  $ret = array();

  // Increase size of the field 'pattern'.
  $new_field = array(
    'type' => 'text',
    'size' => 'medium',
    'not null' => TRUE,
    'description' => 'A serialized array containing pattern code.',
  );
  db_change_field($ret, 'patterns', 'pattern', 'pattern', $new_field);
  return $ret;
}