Using --command instead of piping in SQL. This automatically wraps the command(s) in a transaction and also returns a non-zero exit code upon failure, which can then be used to abort the rest of the migration process.
Using --command instead of piping in SQL. This automatically wraps the command(s) in a transaction and also returns a non-zero exit code upon failure, which can then be used to abort the rest of the migration process.

ycombinator/DbMigrations,ycombinator/DbMigrations