You are here

function acl_update_6 in ACL 6

Same name and namespace in other branches
  1. 5 acl.install \acl_update_6()
  2. 7 acl.install \acl_update_6()

Add 'priority' column.

File

./acl.install, line 171
Install, update and uninstall functions for the acl module.

Code

function acl_update_6() {
  $ret = array();
  db_add_field($ret, 'acl_node', 'priority', array(
    'type' => 'int',
    'size' => 'small',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}