mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
#11864 remove foreign key id_user tevent_comment
This commit is contained in:
parent
8be7d85405
commit
8aff02beb9
@ -96,9 +96,7 @@ CREATE TABLE IF NOT EXISTS `tevent_comment` (
|
|||||||
`id_user` VARCHAR(255) DEFAULT NULL,
|
`id_user` VARCHAR(255) DEFAULT NULL,
|
||||||
`action` TEXT,
|
`action` TEXT,
|
||||||
FOREIGN KEY (`id_event`) REFERENCES `tevento`(`id_evento`)
|
FOREIGN KEY (`id_event`) REFERENCES `tevento`(`id_evento`)
|
||||||
ON UPDATE CASCADE ON DELETE CASCADE,
|
ON UPDATE CASCADE ON DELETE CASCADE
|
||||||
FOREIGN KEY (`id_user`) REFERENCES tusuario(`id_user`)
|
|
||||||
ON DELETE SET NULL
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
|
|
||||||
INSERT INTO `tevent_comment` (`id_event`, `utimestamp`, `comment`, `id_user`, `action`)
|
INSERT INTO `tevent_comment` (`id_event`, `utimestamp`, `comment`, `id_user`, `action`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user