I'm in the process of migrating a complex D6 site up to D8 using the Migration tool. An old table content_field_gallery seems to have been migrated to a node_revision__field_gallery table, but there is also a node__field_gallery table with about half as many rows.

I'm guessing that the node__field_X version has only the latest revision and the node_revision__field_X has ALL revisions. Is that correct? Isn't that redundant? And a good index should make a single table pretty efficient? Where can I read more about this?

1 Answer 1


Yes, that is correct. This is the same data structure as in Drupal 7.

It would be possible to write a different backend that only uses one table, there was a project for that for Drupal 7 but I think it never really took off.

See https://www.drupal.org/node/2083451 for a discussion if that's still necessary or not.

  • Thanks! I skipped D7 so having a hard time understanding all the differences.
    – Nic
    Apr 11, 2016 at 8:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.