update_129
- Versions
- 4.6
update_129()
Code
database/updates.inc, line 2346
<?php
function update_129() {
/**
* PostgreSQL only update.
*/
$ret = array();
if ($GLOBALS['db_type'] == 'pgsql') {
$ret[] = update_sql('DROP TABLE {search_total}');
$ret[] = update_sql("CREATE TABLE {search_total} (
word varchar(50) NOT NULL default '',
count float default NULL)");
$ret[] = update_sql('CREATE INDEX {search_total}_word_idx ON {search_total}(word)');
/**
* Wipe the search index
*/
include_once('modules/search.module');
search_wipe();
}
return $ret;
}
?>Login or register to post comments 