You are here

function views_calc_update_6000 in Views Calc 7

Same name and namespace in other branches
  1. 6.3 views_calc.install \views_calc_update_6000()
  2. 6 views_calc.install \views_calc_update_6000()

Update views_calc_fields table to add a new base column.

File

./views_calc.install, line 89
Install, update and uninstall functions for the views_calc module.

Code

function views_calc_update_6000() {
  db_add_field('views_calc_fields', 'base', array(
    'type' => 'varchar',
    'length' => '255',
    'not null' => TRUE,
    'default' => 'node',
  ));
  return t("Added base to views_calc_fields table.");
}