Problem/Motivation

Commit a9c72085 for issue #3385862 introduced a regression: path is added as primary key. The column does not exist in table restrict_ip_whitelisted_ip_addresses. It should be ip_address.

$schema->addPrimaryKey('restrict_ip_whitelisted_ip_addresses', ['path']);

Steps to reproduce

Update from 4.x and run database update

Proposed resolution

Fix update hook restrict_ip_update_500001

$schema->addPrimaryKey('restrict_ip_whitelisted_ip_addresses', ['ip_address']);
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

hosterholz created an issue. See original summary.

hosterholz’s picture

Issue summary: View changes

hosterholz’s picture

Status: Needs work » Needs review

smustgrave’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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