MyVideos48 |
Trigger "delete_person" |
System: | |
Table: | actors |
Events: | DELETE |
Type: | After |
Enabled: | |
When expression: | (no value) |
Body: |
CREATE TRIGGER delete_person
AFTER DELETE
ON actors
BEGIN
DELETE FROM art WHERE media_id=old.idActor AND media_type IN ('actor','artist','writer','director');
END;
Generated by ""SQLite Maestro Professional"" at 08.07.2021 23:49:20 |