dev/sg: migrate schema decode to sourcegraph/run
Created by: bobheadxi
Demo of the fixed sourcegraph/run.Output
's implementation of io.Reader
, which means output from commands can directly be piped into io.Reader
consumers
Also see https://github.com/sourcegraph/run/pull/32
Test plan
➜ sourcegraph git:(sg-decode-run-output) go run ./dev/sg migration drift -db frontend -version main
No drift detected