Add clear database functions