summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-08-26 18:18:12 +0000
committerDries Buytaert <dries@buytaert.net>2002-08-26 18:18:12 +0000
commita28f8180065e5622c4b4ef11b0276835dd4a9af1 (patch)
tree30f4e48a64864e7db129409e8a7a86df76bd6530 /update.php
parent3cdfcaf877cb7e9d31bdc123e263c123b7436929 (diff)
downloadbrdo-a28f8180065e5622c4b4ef11b0276835dd4a9af1.tar.gz
brdo-a28f8180065e5622c4b4ef11b0276835dd4a9af1.tar.bz2
- Changed "$watchdog->message" from type "varchar(255)" to type "text".
Patch by James. For sake of consistency, I updated the MySQL scheme and added a new update entry to "update.php".
Diffstat (limited to 'update.php')
-rw-r--r--update.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/update.php b/update.php
index 9c74537d3..b97811d55 100644
--- a/update.php
+++ b/update.php
@@ -49,7 +49,8 @@ $mysql_updates = array(
"2002-07-31" => "update_34",
"2002-08-10" => "update_35",
"2002-08-16" => "update_36",
- "2002-08-19" => "update_37"
+ "2002-08-19" => "update_37",
+ "2002-08-26" => "update_38"
);
// Update functions
@@ -514,7 +515,7 @@ function update_37() {
update_sql("DROP TABLE IF EXISTS sequences;");
update_sql("CREATE TABLE sequences (
- name VARCHAR(255) NOT NULL PRIMARY KEY,
+ name VARCHAR(255) NOT NULL PRIMARY KEY,
id INT UNSIGNED NOT NULL
) TYPE=MyISAM;");
@@ -532,6 +533,10 @@ function update_37() {
}
}
+function update_38() {
+ update_sql("ALTER TABLE watchdog CHANGE message message text NOT NULL default '';");
+}
+
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);");