summaryrefslogtreecommitdiff
path: root/database/updates.inc
diff options
context:
space:
mode:
Diffstat (limited to 'database/updates.inc')
-rw-r--r--database/updates.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc
index fffa8e130..837c881ee 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -54,7 +54,8 @@ $sql_updates = array(
"2004-03-11: first update since Drupal 4.4.0 release" => "update_80",
"2004-02-20" => "update_81",
"2004-02-27" => "update_82",
- "2004-04-15" => "update_83"
+ "2004-04-15" => "update_83",
+ "2004-04-21" => "update_84"
);
function update_32() {
@@ -922,6 +923,17 @@ function update_83() {
return $ret;
}
+function update_84() {
+ $ret = array();
+ if ($GLOBALS["db_type"] == "mysql") {
+ $ret[] = update_sql("ALTER TABLE vocabulary ADD help VARCHAR(255) NOT NULL DEFAULT '' AFTER description;");
+ }
+ else {
+ /* Needs PostgreSQL equivalent */
+ }
+ return $ret;
+}
+
function update_sql($sql) {
$edit = $_POST["edit"];
$result = db_query($sql);