diff options
Diffstat (limited to 'database/updates.inc')
-rw-r--r-- | database/updates.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc index 4b14a2510..1ab576a0c 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -66,7 +66,8 @@ $sql_updates = array( "2004-07-07" => "update_92", "2004-07-11" => "update_93", "2004-07-22" => "update_94", - "2004-07-30" => "update_95" + "2004-07-30" => "update_95", + "2004-08-04" => "update_96" ); function update_32() { @@ -1204,6 +1205,14 @@ function update_95() { return $ret; } +function update_96() { + $ret = array(); + $ret[] = update_sql('ALTER TABLE {accesslog} DROP nid'); + $ret[] = update_sql('ALTER TABLE {accesslog} ADD title VARCHAR(255) DEFAULT NULL'); + $ret[] = update_sql('ALTER TABLE {accesslog} ADD path VARCHAR(255) DEFAULT NULL'); + return $ret; +} + function update_sql($sql) { $edit = $_POST["edit"]; $result = db_query($sql); |