Added function to delete an entry, and updated database schema to assist with this