First doctrine migration