The migrator does not have the container available. I'd have to use the global.

I don't know if we can rely on the container being instantiated before migrations are run. The migrator was not designed to require it.