Problema con la base de datos de WordPress: [No se puede crear la tabla `micronteknikcom_wp453133`.`wp_icwp_wpsf_scanresults` (errno: 150 "La restricción de clave externa está mal formada")]CREATE TABLE IF NOT EXISTS `wp_icwp_wpsf_scanresults` (
id int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Primary ID',
scan_ref int(11) UNSIGNED NOT NULL COMMENT 'Foreign Key For Primary ID',
resultitem_ref int(11) UNSIGNED NOT NULL COMMENT 'Foreign Key For Primary ID',
created_at int(15) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Created',
PRIMARY KEY (id),
FOREIGN KEY (scan_ref) REFERENCES wp_icwp_wpsf_scans(id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (resultitem_ref) REFERENCES wp_icwp_wpsf_resultitems(id) ON DELETE CASCADE ON UPDATE CASCADE
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;
Problema con la base de datos de WordPress: [No se puede crear la tabla `micronteknikcom_wp453133`.`wp_icwp_wpsf_scanresults` (errno: 150 "La restricción de clave externa está mal formada")]CREATE TABLE IF NOT EXISTS `wp_icwp_wpsf_scanresults` (
id int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Primary ID',
scan_ref int(11) UNSIGNED NOT NULL COMMENT 'Foreign Key For Primary ID',
resultitem_ref int(11) UNSIGNED NOT NULL COMMENT 'Foreign Key For Primary ID',
created_at int(15) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Created',
PRIMARY KEY (id),
FOREIGN KEY (scan_ref) REFERENCES wp_icwp_wpsf_scans(id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (resultitem_ref) REFERENCES wp_icwp_wpsf_resultitems(id) ON DELETE CASCADE ON UPDATE CASCADE
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;