publish the migration source code

it would be great to have the migration source code public, if that is safe at all.

it would serve a few purposes:

  1. it would allow us to diagnose problems better if they come up
  2. it would give good examples on how to talk to the API
  3. it would show others how we did it

Of course the code would need to be sanitized for secrets, but it doesn't have to be clean.