Fixed db issue
This commit is contained in:
parent
c2d81238d6
commit
f28de6f4d0
|
@ -51,7 +51,6 @@ CREATE TABLE `tpen` (
|
||||||
CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` (
|
CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` (
|
||||||
`pen` int(10) unsigned NOT NULL,
|
`pen` int(10) unsigned NOT NULL,
|
||||||
`id_np` int(10) unsigned NOT NULL,
|
`id_np` int(10) unsigned NOT NULL,
|
||||||
PRIMARY KEY (`pen`),
|
|
||||||
CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`)
|
CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`)
|
||||||
REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE,
|
REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||||
CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`)
|
CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`)
|
||||||
|
|
|
@ -1492,7 +1492,6 @@ CREATE TABLE IF NOT EXISTS `tpen` (
|
||||||
CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` (
|
CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` (
|
||||||
`pen` int(10) unsigned NOT NULL,
|
`pen` int(10) unsigned NOT NULL,
|
||||||
`id_np` int(10) unsigned NOT NULL,
|
`id_np` int(10) unsigned NOT NULL,
|
||||||
PRIMARY KEY (`pen`),
|
|
||||||
CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`)
|
CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`)
|
||||||
REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE,
|
REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||||
CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`)
|
CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`)
|
||||||
|
|
|
@ -969,7 +969,6 @@ CREATE TABLE IF NOT EXISTS `tpen` (
|
||||||
CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` (
|
CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` (
|
||||||
`pen` int(10) unsigned NOT NULL,
|
`pen` int(10) unsigned NOT NULL,
|
||||||
`id_np` int(10) unsigned NOT NULL,
|
`id_np` int(10) unsigned NOT NULL,
|
||||||
PRIMARY KEY (`pen`),
|
|
||||||
CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`)
|
CONSTRAINT `fk_network_profile_pen_pen` FOREIGN KEY (`pen`)
|
||||||
REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE,
|
REFERENCES `tpen` (`pen`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||||
CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`)
|
CONSTRAINT `fk_network_profile_pen_id_np` FOREIGN KEY (`id_np`)
|
||||||
|
|
Loading…
Reference in New Issue