Support for running cross-shard schema migrations nicely.

 - code was not so nice. but it's understandable.