log_activity_addon deletions should cascade from log_activity.
This commit is contained in:
Родитель
38bf3ef512
Коммит
13acc9deb7
2
locale
2
locale
|
@ -1 +1 @@
|
|||
Subproject commit 0627f9d0cfbbcd92e957c4252b712c7dd84c2c55
|
||||
Subproject commit 1956a2dca7cfee4003e649bbdeac9b140259f9f8
|
|
@ -0,0 +1,7 @@
|
|||
ALTER TABLE `log_activity_addon`
|
||||
DROP FOREIGN KEY `addon_id_refs_id_5bfa17d1`;
|
||||
|
||||
ALTER TABLE `log_activity_addon` ADD CONSTRAINT `addon_id_refs_id_5bfa17d1` FOREIGN KEY `addon_id_refs_id_5bfa17d1` (`addon_id`)
|
||||
REFERENCES `addons` (`id`)
|
||||
ON DELETE CASCADE;
|
||||
|
Загрузка…
Ссылка в новой задаче