Working on 'delete post' function. (Breaking at the foreign key constraint on the post photos)