You are here

function ds_update_6201 in Display Suite 6.2

Same name and namespace in other branches
  1. 6.3 ds.install \ds_update_6201()

Update the settings table.

File

./ds.install, line 177
Display suite install file.

Code

function ds_update_6201() {
  $ret = array();
  db_change_field($ret, 'ds_settings', 'settings', 'settings', array(
    'description' => 'The settings for this record.',
    'type' => 'text',
    'not null' => TRUE,
    'size' => 'big',
    'default' => '',
  ));
  db_change_field($ret, 'ds_settings', 'fields', 'fields', array(
    'description' => 'The fields for this record.',
    'type' => 'text',
    'not null' => TRUE,
    'size' => 'big',
    'default' => '',
  ));
  return $ret;
}