diff options
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/update.php b/update.php index b1afc3d10..0ffd5a731 100644 --- a/update.php +++ b/update.php @@ -59,7 +59,8 @@ $mysql_updates = array( "2002-11-08" => "update_44", "2002-11-20" => "update_45", "2002-12-10" => "update_46", - "2002-12-22" => "update_47" + "2002-12-22" => "update_47", + "2002-12-29" => "update_48" ); // Update functions @@ -655,6 +656,12 @@ function update_47() { );"); } +function update_48() { + if ($max = db_result(db_query("SELECT MAX(tid) FROM vocabulary"))) { + update_sql("REPLACE INTO sequences VALUES ('vocabulary', $max)"); + } +} + function update_upgrade3() { update_sql("INSERT INTO system VALUES ('archive.module','archive','module','',1)"); update_sql("INSERT INTO system VALUES ('block.module','block','module','',1)"); |