#601642: Old databases might have a small {system}.weight brings up a wider issue of schema inconsistencies between new installs of D7 and those upgraded from older versions of Drupal.

The least we should do before D7 is released, is take a Drupal 6 database, upgrade it to Drupal 7, then install http://drupal.org/project/schema to see if the database matches the schema definition.

We should probably do this for 6.0->7.0 6.x-dev->7.0 and 5.x-dev->7.0 to catch the most likely spots.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dale42’s picture

I've installed a new Drupal 7 instance, and Schema reports 6 table mismatches.
I've also upgraded a Drupal 6.17 to Drupal 7, and Schema reports 10 table mismatches and 5 tables not present in the schema.
Attached are text files with report summaries.

I can provide a patch/patches that match the schema definition to reality, if that's the correct way to proceed. If some other action is called for I may or may not be able to undertake that.