summaryrefslogtreecommitdiff
path: root/database/updates.inc
diff options
context:
space:
mode:
Diffstat (limited to 'database/updates.inc')
-rw-r--r--database/updates.inc12
1 files changed, 11 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc
index d0a1b8424..c6c7f00e0 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -58,7 +58,8 @@ $sql_updates = array(
"2004-04-21" => "update_84",
"2004-04-27" => "update_85",
"2004-05-10" => "update_86",
- "2004-05-18" => "update_87"
+ "2004-05-18" => "update_87",
+ "2004-06-11" => "update_88"
);
function update_32() {
@@ -1093,6 +1094,15 @@ function update_87() {
return $ret;
}
+function update_88() {
+ $ret = array();
+ $ret[] = update_sql("ALTER TABLE {menu} DROP status");
+ $ret[] = update_sql("ALTER TABLE {menu} DROP visibility");
+ $ret[] = update_sql("ALTER TABLE {menu} ADD type INT(2) UNSIGNED DEFAULT '0' NOT NULL");
+ $ret[] = update_sql("DELETE FROM {menu}");
+ return $ret;
+}
+
function update_sql($sql) {
$edit = $_POST["edit"];
$result = db_query($sql);