pdv is in alpha and has no downstream installs to migrate, so the backward-compatibility scaffolding added alongside the multi-tenant work is dead weight. Remove it; a fresh install sets everything up from pdv_install(), the entity and base-field definitions, and config/install.

  • Drop every hook_update_N migration (pdv_update_11001 through 11007): consumer_handle storage, default-tenant creation, the tenant field installs and backfill, the subject-key unique-key swap, the composite index, and the pdv_tenant entity-type registration. Each is already produced for a fresh install by pdv_install() and the definitions.
  • Drop the rotation guard that coerced a pre-multi-tenant boolean pdv.mkek_rotation_active back to a list; no install carries that stale shape.
  • Remove the migration-only tests that exercised those hooks.

No behavior change for a fresh install. The single dev site that held the old state was corrected directly, in keeping with the alpha "break freely" stance.

Issue fork pdv-3593786

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

  • mably committed a5a87afe on 1.x
    task: #3593786 Remove dead update hooks and deprecated-state handling (...
mably’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.