From f28de6f4d03f52acbd00364375d80b32eb91b3ed Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Tue, 31 Mar 2020 10:45:30 +0200 Subject: [PATCH] Fixed db issue --- pandora_console/extras/mr/37.sql | 1 - pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql | 1 - pandora_console/pandoradb.sql | 1 - 3 files changed, 3 deletions(-) diff --git a/pandora_console/extras/mr/37.sql b/pandora_console/extras/mr/37.sql index fedc4b477e..7007d78745 100644 --- a/pandora_console/extras/mr/37.sql +++ b/pandora_console/extras/mr/37.sql @@ -51,7 +51,6 @@ CREATE TABLE `tpen` ( CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` ( `pen` int(10) unsigned NOT NULL, `id_np` int(10) unsigned NOT NULL, - PRIMARY KEY (`pen`), CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`) REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`) diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql index f3a3f612a1..adfeaa0b7f 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql @@ -1492,7 +1492,6 @@ CREATE TABLE IF NOT EXISTS `tpen` ( CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` ( `pen` int(10) unsigned NOT NULL, `id_np` int(10) unsigned NOT NULL, - PRIMARY KEY (`pen`), CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`) REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`) diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index fa8f8d3043..c42bfebe24 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -969,7 +969,6 @@ CREATE TABLE IF NOT EXISTS `tpen` ( CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` ( `pen` int(10) unsigned NOT NULL, `id_np` int(10) unsigned NOT NULL, - PRIMARY KEY (`pen`), CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`) REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`)