delete local database

This fixes #1145