Skip to content

Releases: pressly/goose

Make goose_db_version table name configurable

03 May 15:27
95600eb
Compare
Choose a tag to compare
goose.SetTableName("your_table_to_track_the_db_schema_versions")

Contributed by @chapsuk, see #104.

Added logger interface and SetLogger

30 Apr 22:34
f0b1c6f
Compare
Choose a tag to compare
Merge pull request #105 from chapsuk/logger

Added logger interface and SetLogger func for redefine package output

Add reset command

07 Jul 15:04
Compare
Choose a tag to compare

reset calls goose down for each applied migration, until it reaches the oldest migration.

  • Useful when switching between different development branches (you can rewind WIP migrations from the previous branch and apply yours).
  • Also very useful for CI tests (you can run goose up && goose reset && goose up to double check your migrations are in good shape in both directions.

Kudos to @smacker

v2.0.0

26 Jun 14:48
Compare
Choose a tag to compare
  • support for --+goose NO TRANSACTION
  • goose create [name] - create command enhancements
  • golang/dep vendoring
  • clean-up & refactor
  • better examples, especially the Go migrations
  • move .travis.yml tests to goose_test.go

v1.0

09 Dec 18:07
Compare
Choose a tag to compare
Fix int overflow on go 1.8-beta1