Skip to content

v0.7.0

Compare
Choose a tag to compare
@rafaelespinoza rafaelespinoza released this 25 Apr 19:41

Make this tool easier to use, build, test.

  • Add go modules.
  • Fix DB connection problems.
  • Add CI, Github Actions. The entire test suite can also run on your machine using docker.

Breaking changes

  • To connect to DB, use one env var (DB_DSN) instead of several. Previously specified env vars (DB_HOST, DB_NAME, DB_PASSWORD, DB_PORT, DB_USER) are ignored. See issue #7 for details. Also removed some identifiers that were made obsolete because the DB_DSN value is used directly now.
  • Removed the dump-schema subcommand and supporting code.

Commits

6991485 build: Add go modules
5bd0958 refactor: Change NewMigrationParams signature, fix tests
6ba4d3e build: Cleanup Makefile
1dc54d9 fix: Connect using DB_DSN env var
69e9fc4 refactor: Remove DumpSchema
c0524c4 refactor: Simplify stuff
b01af18 ci: Add Docker for test suite