log_activity_addon deletions should cascade from log_activity.

This commit is contained in:
Dave Dash 2010-12-14 09:46:11 -08:00
Родитель 38bf3ef512
Коммит 13acc9deb7
2 изменённых файлов: 8 добавлений и 1 удалений

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;