mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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:
commit
90c7a98dc4
@ -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