Skip to content
Snippets Groups Projects

Issue #3499640 by hosterholz: Key column 'path' doesn't exist in table: ALTER...

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -132,7 +132,7 @@ function restrict_ip_update_500001(): void {
@@ -132,7 +132,7 @@ function restrict_ip_update_500001(): void {
if (!$schema->indexExists('restrict_ip_whitelisted_ip_addresses', 'PRIMARY')) {
if (!$schema->indexExists('restrict_ip_whitelisted_ip_addresses', 'PRIMARY')) {
// Add primary key to "restrict_ip_whitelisted_ip_addresses" table.
// Add primary key to "restrict_ip_whitelisted_ip_addresses" table.
$schema->addPrimaryKey('restrict_ip_whitelisted_ip_addresses', ['path']);
$schema->addPrimaryKey('restrict_ip_whitelisted_ip_addresses', ['ip_address']);
}
}
}
}
Loading