Merge branch 'ent-11864-quitar-foreign-key-del-mr-65' into 'develop'

Ent 11864 quitar foreign key del mr 65

See merge request artica/pandorafms!6330
This commit is contained in:
Rafael Ameijeiras 2023-08-11 07:41:43 +00:00
commit 90c7a98dc4
1 changed files with 1 additions and 3 deletions

View File

@ -96,9 +96,7 @@ CREATE TABLE IF NOT EXISTS `tevent_comment` (
`id_user` VARCHAR(255) DEFAULT NULL,
`action` TEXT,
FOREIGN KEY (`id_event`) REFERENCES `tevento`(`id_evento`)
ON UPDATE CASCADE ON DELETE CASCADE,
FOREIGN KEY (`id_user`) REFERENCES tusuario(`id_user`)
ON DELETE SET NULL
ON UPDATE CASCADE ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
INSERT INTO `tevent_comment` (`id_event`, `utimestamp`, `comment`, `id_user`, `action`)