You are here

function custom_pagers_update_2 in Custom Pagers 6

Same name and namespace in other branches
  1. 5 custom_pagers.install \custom_pagers_update_2()

File

./custom_pagers.install, line 103
Custom pagers install file.

Code

function custom_pagers_update_2() {
  $ret = array();
  db_add_field($ret, 'custom_pager', 'cache_list', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'size' => 'tiny',
    'description' => "A boolean flag indicating that this {custom_pager}'s list of nodes should be cached.",
  ));
  db_add_field($ret, 'custom_pager', 'reverse_list', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'size' => 'tiny',
    'description' => 'A boolean flag indicating that this {custom_pager} should be displayed in reverse order.',
  ));
  return $ret;
}