deleteAllRowsForDatabaseId function

Delete all rows for database id