summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-24 15:40:32 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-24 15:40:32 +0000
commit22fa9ed70a512feb6d603d24218e9a7db7610a0e (patch)
tree16b69a177c1645a7d3474bfe06e0571d7280b5d9 /update.php
parentca07ff36d600e778a71dbe52dce9e82c3f1ebd92 (diff)
downloadbrdo-22fa9ed70a512feb6d603d24218e9a7db7610a0e.tar.gz
brdo-22fa9ed70a512feb6d603d24218e9a7db7610a0e.tar.bz2
- Refactored the administration pages.
Diffstat (limited to 'update.php')
-rw-r--r--update.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/update.php b/update.php
index 86e5e09a2..b1afc3d10 100644
--- a/update.php
+++ b/update.php
@@ -58,7 +58,8 @@ $mysql_updates = array(
"2002-10-26" => "update_43",
"2002-11-08" => "update_44",
"2002-11-20" => "update_45",
- "2002-12-10" => "update_46"
+ "2002-12-10" => "update_46",
+ "2002-12-22" => "update_47"
);
// Update functions
@@ -642,6 +643,18 @@ function update_46() {
update_sql("ALTER TABLE cache ADD created int(11) NOT NULL default '0'");
}
+function update_47() {
+ update_sql("CREATE TABLE menu (
+ name varchar(255) NOT NULL default '',
+ link varchar(255) NOT NULL default '',
+ help TEXT default '',
+ title varchar(255) NOT NULL default '',
+ parent varchar(255) NOT NULL default '',
+ weight tinyint(4) DEFAULT '0' NOT NULL,
+ overview tinyint(1) DEFAULT '0' NOT NULL
+ );");
+}
+
function update_upgrade3() {
update_sql("INSERT INTO system VALUES ('archive.module','archive','module','',1)");
update_sql("INSERT INTO system VALUES ('block.module','block','module','',1)");