summaryrefslogtreecommitdiff
path: root/database/updates.inc
diff options
context:
space:
mode:
Diffstat (limited to 'database/updates.inc')
-rw-r--r--database/updates.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc
index fa63b67e2..5427e9674 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -117,7 +117,8 @@ $sql_updates = array(
"2005-05-10" => "update_138",
"2005-05-11" => "update_139",
"2005-05-12" => "update_140",
- "2005-05-22" => "update_141"
+ "2005-05-22" => "update_141",
+ "2005-07-29" => "update_142"
);
function update_32() {
@@ -2511,6 +2512,12 @@ function update_141() {
return $ret;
}
+function update_142() {
+ $ret = array();
+ $ret[] = update_sql("ALTER TABLE {watchdog} ADD COLUMN referer varchar(128) NOT NULL");
+ return $ret;
+}
+
function update_sql($sql) {
$edit = $_POST["edit"];
$result = db_query($sql);