Hardcoding a module's order is not a proper solution. To fix this correctly we would need to have some dependency model in the migrations framework. For now it's sufficient to run the migration twice as documented in the installation docs.