t('Registers node deletions so that deleted nodes can be removed from the index.'), 'fields' => array( 'nid' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'description' => t('Node id'), ), 'deleted' => array( 'description' => t('The Unix timestamp when the node was deleted.'), 'type' => 'int', 'not null' => TRUE, 'default' => 0), ), 'primary key' => array('nid'), ); return $schema; } function cobaltnodes_update_7000() { $ret = array(); db_rename_table($ret, 'cobalt_nodes_deletions', 'cobalt_node_deletion'); return $ret; }