[WIP][3.9] Add doctrine migration