Key column 'path' doesn't exist in table: ALTER TABLE "restrict_ip_whitelisted_ip_addresses" ADD PRIMARY KEY ("path")

Created on 14 January 2025, 6 days ago

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', ['path']);
πŸ› Bug report
Status

Needs work

Version

5.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hosterholz

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