go run *.go init
must be used to create thegopg_migrations
table.gopg_migrations
table is locked during migration.- Versions are updated within a PostgreSQL migration.
- Added support for pure SQL migrations located files
123_comment.up.sql
and123_comment.down.sql
. - Added
RegisterTx
andMustRegisterTx
for migrations that must be run in transactions.