From 18eb8f050a9ff24d86278f1edcf1bf27cb7a9750 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sat, 26 Oct 2002 21:47:55 +0000 Subject: - making sure the type field is set right for blocks: 1 -> 0, 2 ->1. --- update.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.php b/update.php index 37181066d..31bf743a2 100644 --- a/update.php +++ b/update.php @@ -621,6 +621,8 @@ function update_42() { function update_43() { update_sql("ALTER TABLE blocks DROP remove"); update_sql("ALTER TABLE blocks DROP name"); + update_sql("UPDATE blocks SET type = 0 WHERE type = 1"); + update_sql("UPDATE blocks SET type = 1 WHERE type = 2"); } function update_upgrade3() { -- cgit v1.2.3