You are here

function workflow_fields_update_2 in Workflow Fields 7

Same name and namespace in other branches
  1. 5 workflow_fields.install \workflow_fields_update_2()
  2. 6 workflow_fields.install \workflow_fields_update_2()

File

./workflow_fields.install, line 17
Install, update, and uninstall functions for the workflow_fields module.

Code

function workflow_fields_update_2() {
  $ret = array();
  db_add_field($ret, 'workflow_fields', 'visible_userref', array(
    'type' => 'varchar',
    'length' => 100,
    'not null' => FALSE,
  ));
  db_add_field($ret, 'workflow_fields', 'editable_userref', array(
    'type' => 'varchar',
    'length' => 100,
    'not null' => FALSE,
  ));
  return $ret;
}