added dependent destroys for database cascading destroy