You should have already followed the Deleting records from custom tables recipe to have an existing framework to augment. Alternatively, you can get the resulting code (Chapter 8/ch8-bug-tracker/ch8-bug-tracker-v5.php) from the code bundle and rename the file ch8-bug-tracker.php.