You are here

function nodesinblock_update_6003 in Nodes In Block 7

Same name and namespace in other branches
  1. 6 nodesinblock.install \nodesinblock_update_6003()

Update 6002: Rename nodes_in_block table to nodesinblock.

File

./nodesinblock.install, line 88
Nodes in block install file.

Code

function nodesinblock_update_6003() {
  $ret = array();
  db_drop_field($ret, 'nodesinblock', 'status');
  db_change_field($ret, 'nodesinblock', 'render', 'render', array(
    'type' => 'varchar',
    'not null' => TRUE,
    'length' => 20,
    'default' => '',
  ));
  return $ret;
}