I have a custom content entity for which I needed to change the type of one of its fields.
Following the example on Updating a base field type, I wrote code to update the base entity, which updated perfectly. However, all revisions have null values, including the current revision. Even though the data is stored in the base_entity table, it's not stored in the base_entity_revision table.
How do I modify
hook_update_N() to also update the revision tables?