You are here

function acl_update_7000 in ACL 7

Add 'number' column if it's not there yet.

File

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

Code

function acl_update_7000() {
  if (!db_field_exists('acl', 'number')) {
    db_add_field('acl', 'number', array(
      'type' => 'int',
      'description' => "A number for this ACL entry, given by the module that created it; use either 'name' or 'number'.",
    ));
  }
}