#601642 folllow-up by andypost: Remove extraneous 'length' index from system.weight changes.
parent
94900f4071
commit
768b07978c
|
@ -271,16 +271,15 @@ function update_fix_d7_requirements() {
|
||||||
db_change_field('system', 'schema_version', 'schema_version', array(
|
db_change_field('system', 'schema_version', 'schema_version', array(
|
||||||
'type' => 'int',
|
'type' => 'int',
|
||||||
'size' => 'small',
|
'size' => 'small',
|
||||||
'length' => 6,
|
|
||||||
'not null' => TRUE,
|
'not null' => TRUE,
|
||||||
'default' => -1)
|
'default' => -1)
|
||||||
);
|
);
|
||||||
db_change_field('system', 'status', 'status', array(
|
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(
|
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(
|
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.
|
// Drop and recreate 6.x indexes.
|
||||||
db_drop_index('system', 'bootstrap');
|
db_drop_index('system', 'bootstrap');
|
||||||
db_add_index('system', 'bootstrap', array(
|
db_add_index('system', 'bootstrap', array(
|
||||||
|
|
Loading…
Reference in New Issue