Created
September 6, 2011 18:27
-
-
Save jakemoore/1198528 to your computer and use it in GitHub Desktop.
delete components trigger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TRIGGER "items_delete" AFTER DELETE ON Tables.ITEMS | |
BEGIN | |
DELETE FROM Tables.COMPONENTS WHERE Components.ITEM_ID = old._ID; | |
END; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment