summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/block/block.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/block/block.install b/modules/block/block.install
index f6dfb35c5..fcb95fc4f 100644
--- a/modules/block/block.install
+++ b/modules/block/block.install
@@ -228,6 +228,7 @@ function block_update_7000() {
* {boxes} to {block_custom}.
*/
function block_update_7002() {
+ db_drop_index('blocks', 'list');
db_rename_table('blocks', 'block');
db_rename_table('blocks_roles', 'block_role');
db_rename_table('boxes', 'block_custom');
@@ -237,7 +238,6 @@ function block_update_7002() {
* Change the weight column to normal int.
*/
function block_update_7003() {
- db_drop_index('block', 'list');
db_change_field('block', 'weight', 'weight', array(
'type' => 'int',
'not null' => TRUE,