You are here

function nodequeue_update_6000 in Nodequeue 6.2

Same name and namespace in other branches
  1. 7.3 nodequeue.install \nodequeue_update_6000()
  2. 7.2 nodequeue.install \nodequeue_update_6000()

There was a discrepancy between the link/link_remove fields created with node_install/node_schema, and the ones created with nodequeue_update_5000. This forces everyone to 40 characters.

File

./nodequeue.install, line 420
Install, update and uninstall functions for the nodequeue module.

Code

function nodequeue_update_6000() {
  $ret = array();
  db_change_field($ret, 'nodequeue_queue', 'link', 'link', array(
    'type' => 'varchar',
    'length' => 40,
  ));
  db_change_field($ret, 'nodequeue_queue', 'link_remove', 'link_remove', array(
    'type' => 'varchar',
    'length' => 40,
  ));
  return $ret;
}