summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-01-17 20:21:11 +0000
committerDries Buytaert <dries@buytaert.net>2002-01-17 20:21:11 +0000
commit0683331acd0ee1ddb07bec2e68cece64e3ddbbc5 (patch)
tree00e207ffc701a2f7c39420bd6f4b75c5e879f1a1
parent61edf798eee59e26ed4111bbe84c8c939a6667f4 (diff)
downloadbrdo-0683331acd0ee1ddb07bec2e68cece64e3ddbbc5.tar.gz
brdo-0683331acd0ee1ddb07bec2e68cece64e3ddbbc5.tar.bz2
- Added an 'data' column to the user table.
-rw-r--r--update.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/update.php b/update.php
index b86627427..90564ea21 100644
--- a/update.php
+++ b/update.php
@@ -43,6 +43,7 @@ $mysql_updates = array(
"2001-12-30" => "update_16",
"2001-12-31" => "update_17",
"2002-01-05" => "update_18",
+ "2002-01-17" => "update_19",
);
// Update functions
@@ -312,6 +313,10 @@ function update_18() {
update_sql("ALTER TABLE cache CHANGE url cid varchar(255) DEFAULT '' NOT NULL;");
}
+function update_19() {
+ update_sql("ALTER TABLE users ADD data TEXT;");
+}
+
/*
** System functions
*/