[RFR] Move migration to migration script