You are here

function content_lock_update_6200 in Content locking (anti-concurrent editing) 7

Same name and namespace in other branches
  1. 6.2 content_lock.install \content_lock_update_6200()
  2. 7.3 content_lock.install \content_lock_update_6200()
  3. 7.2 content_lock.install \content_lock_update_6200()

Implementation of hook_update_N().

File

./content_lock.install, line 78

Code

function content_lock_update_6200() {
  $ret = array();
  db_add_field($ret, 'content_lock', 'ajax_key', array(
    'description' => 'A key which AJAX requests must prevent to prevent page reloads from breaking.',
    'size' => 'normal',
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}