Function to destroy database complete.
Merge conflict fixed.