function nodequeue_update_6000 in Nodequeue 7.2
Same name and namespace in other branches
- 6.2 nodequeue.install \nodequeue_update_6000()
- 7.3 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 266 - Install, update and uninstall functions for the nodequeue module.
Code
function nodequeue_update_6000() {
$ret = array();
db_change_field('nodequeue_queue', 'link', 'link', array(
'type' => 'varchar',
'length' => 40,
));
db_change_field('nodequeue_queue', 'link_remove', 'link_remove', array(
'type' => 'varchar',
'length' => 40,
));
return $ret;
}