Run db migrate and update location nodes with type.