@Olzi This is getting quite old now but it might give you some inspiration about how to implement the migration logic: