summaryrefslogtreecommitdiff
path: root/database/updates.inc
diff options
context:
space:
mode:
Diffstat (limited to 'database/updates.inc')
-rw-r--r--database/updates.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc
index 454127a15..3f604d6fc 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -57,7 +57,8 @@ $sql_updates = array(
"2004-04-15" => "update_83",
"2004-04-21" => "update_84",
"2004-04-27" => "update_85",
- "2004-05-10" => "update_86"
+ "2004-05-10" => "update_86",
+ "2004-05-18" => "update_87"
);
function update_32() {
@@ -1084,6 +1085,14 @@ function update_86() {
return $ret;
}
+function update_87() {
+ $ret = array();
+ $ret[] = update_sql("ALTER TABLE {comments} ADD name varchar(60) DEFAULT NULL");
+ $ret[] = update_sql("ALTER TABLE {comments} ADD mail varchar(64) DEFAULT NULL");
+ $ret[] = update_sql("ALTER TABLE {comments} ADD homepage varchar(255) DEFAULT NULL");
+ return $ret;
+}
+
function update_sql($sql) {
$edit = $_POST["edit"];
$result = db_query($sql);