…and here’s the code at the end of the SQL file:
ALTER TABLEwp_fbv_attachment_folder
ADD CONSTRAINT wp_fbv_attachment_folder_ibfk_1
FOREIGN KEY (folder_id
) REFERENCES wp_fbv
(id
) ON DELETE CASCADE;
ALTER TABLE wp_wc_download_log
ADD CONSTRAINT fk_wp_wc_download_log_permission_id
FOREIGN KEY (permission_id
) REFERENCES wp_woocommerce_downloadable_product_permissions
(permission_id
) ON DELETE CASCADE;