Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#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.
Comment | File | Size | Author |
---|---|---|---|
#1 | Drupal7NewInstallSchemaReport.txt | 2.32 KB | dale42 |
#1 | Drupal7UpgFromD6SchemaReport.txt | 2.85 KB | dale42 |
Comments
Comment #1
dale42I'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.