Remove old schema updates

Created on 3 September 2024, 3 months ago
Updated 17 September 2024, 2 months ago

Problem/Motivation

The hook_update_N schema updates in the genpass.install file are deprecated for the 2.1.x branch. All of the updates were present in the 2.0.x branch (2.0.2 release) so the updated and installed schema version of the module will already be 8005 by the time any site reaches the 2.1.x branch.

Steps to reproduce

Install an old version of genpass from 8-x-1.x or 2.0.x branches and attempt to update to the 2.1.x branch. The resulting schema version before reaching 2.1.x will be 8005. Installing anew will result in the same version.

Proposed resolution

Remove all of the hook_update_N functions, and implement hook_update_last_removed() for schema version 8005.

Release notes snippet

  • @todo
📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

🇦🇺Australia elc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024