Reset database code cleanup