function system_update_131 in Drupal 4
Same name and namespace in other branches
- 5 modules/system/system.install \system_update_131()
File
- database/
updates.inc, line 463
Code
function system_update_131() {
$ret = array();
if ($GLOBALS['db_type'] == 'mysql') {
$ret[] = update_sql("ALTER TABLE {boxes} DROP INDEX title");
// Removed recreation of the index, which is not present in the db schema
}
elseif ($GLOBALS['db_type'] == 'pgsql') {
$ret[] = update_sql("ALTER TABLE {boxes} DROP CONSTRAINT {boxes}_title_key");
}
return $ret;
}