Skip to content

fix foreign keys delete for newer version of MySQL#63

Open
yura-x wants to merge 1 commit intoThemeFuse:masterfrom
yura-x:patch-1
Open

fix foreign keys delete for newer version of MySQL#63
yura-x wants to merge 1 commit intoThemeFuse:masterfrom
yura-x:patch-1

Conversation

@yura-x
Copy link
Contributor

@yura-x yura-x commented Jul 21, 2021

Array now has uppercased keys:

array (
'CONSTRAINT_NAME' => 'fk_wp_wc_download_log_permission_id',
'COLUMN_NAME' => 'permission_id',
'REFERENCED_TABLE_NAME' => 'wp_woocommerce_downloadable_product_permissions',
'REFERENCED_COLUMN_NAME' => 'permission_id',
'TABLE_NAME' => 'wp_wc_download_log',
),

Array now has uppercased keys:

  array (
    'CONSTRAINT_NAME' => 'fk_wp_wc_download_log_permission_id',
    'COLUMN_NAME' => 'permission_id',
    'REFERENCED_TABLE_NAME' => 'wp_woocommerce_downloadable_product_permissions',
    'REFERENCED_COLUMN_NAME' => 'permission_id',
    'TABLE_NAME' => 'wp_wc_download_log',
  ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant