Execute getVersion outside of a transaction since it relies on provoking an error if the migration_version table doesn't exist.
Execute getVersion outside of a transaction since it relies on
provoking an error if the migration_version table doesn't exist.

(In postgresql, any error stalls a transaction.)

BurntSushi/migration