diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-04 17:03:19 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-04 17:03:19 +0000 |
commit | 768b07978ca9dfd98ec0df0bc48bd4e33e4f292a (patch) | |
tree | 51945c94e1fa02e6c6e4145038cbbc2d78564845 /includes/update.inc | |
parent | 94900f4071c93742fa5bcd592c66fc003c79b9b5 (diff) | |
download | brdo-768b07978ca9dfd98ec0df0bc48bd4e33e4f292a.tar.gz brdo-768b07978ca9dfd98ec0df0bc48bd4e33e4f292a.tar.bz2 |
#601642 folllow-up by andypost: Remove extraneous 'length' index from system.weight changes.
Diffstat (limited to 'includes/update.inc')
-rw-r--r-- | includes/update.inc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/includes/update.inc b/includes/update.inc index 44102d90e..e16ff1482 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -271,16 +271,15 @@ function update_fix_d7_requirements() { db_change_field('system', 'schema_version', 'schema_version', array( 'type' => 'int', 'size' => 'small', - 'length' => 6, 'not null' => TRUE, 'default' => -1) ); db_change_field('system', 'status', 'status', array( - 'type' => 'int', 'length' => 11, 'not null' => TRUE, 'default' => 0)); + 'type' => 'int', 'not null' => TRUE, 'default' => 0)); db_change_field('system', 'weight', 'weight', array( - 'type' => 'int', 'length' => 11, 'not null' => TRUE, 'default' => 0)); + 'type' => 'int', 'not null' => TRUE, 'default' => 0)); db_change_field('system', 'bootstrap', 'bootstrap', array( - 'type' => 'int', 'length' => 11, 'not null' => TRUE, 'default' => 0)); + 'type' => 'int', 'not null' => TRUE, 'default' => 0)); // Drop and recreate 6.x indexes. db_drop_index('system', 'bootstrap'); db_add_index('system', 'bootstrap', array( |