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 b39ca7c6c..24f9a51dd 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -114,7 +114,8 @@ $sql_updates = array(
"2005-05-06" => "update_135",
"2005-05-08" => "update_136",
"2005-05-09" => "update_137",
- "2005-05-10" => "update_138"
+ "2005-05-10" => "update_138",
+ "2005-05-11" => "update_139"
);
function update_32() {
@@ -2482,6 +2483,12 @@ function update_138() {
return $ret;
}
+function update_139() {
+ $ret = array();
+ $ret[] = update_sql("ALTER TABLE {accesslog} ADD timer int(10) unsigned NOT NULL default '0'");
+ return $ret;
+}
+
function update_sql($sql) {
$edit = $_POST["edit"];
$result = db_query($sql);