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']);
Issue fork restrict_ip-3499640
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
Comment #2
hosterholzComment #4
hosterholzComment #6
smustgrave commentedThanks!