Commit Graph

31 Commits (7dcddde25a60909edc82028faa68815e6708ced0)

Author SHA1 Message Date
Ori Shalom 7dcddde25a
feat: expose new functions for setting context (#517) 2023-06-16 09:34:33 -04:00
Michael Fridman 5a6c34ee2d
Add NO_COLOR (-no-color) support (#409) 2022-10-20 16:23:29 -04:00
Michael Fridman c8aa123e31
Adds support to apply migrations without versioning (#291) 2021-12-13 00:37:44 -05:00
Michael Fridman 8ed5f6370b
Add the ability to apply missing (out-of-order) migrations (#280) 2021-10-24 14:49:24 -04:00
Michael Fridman 97eae0915c
Add CI workflows to generate GitHub Releases and binaries on new tag push (#277) 2021-10-13 09:06:10 -04:00
Vladimir Stolyarov 3ffdd78efc
Embed support: add 'base' filesystem to discover migrations. (#244)
This needed to use go 1.16 'embed' feature.
By default, migrations discovered from os filesystem.
This can be changed using `SetBaseFS` method.
2021-08-19 09:21:29 -04:00
Michael Fridman ff32c04cfd
Adopt Go modules as /v3 (#261) 2021-08-04 09:16:42 -04:00
Keiichi Hirobe 8b1f056e11 delete unused value:duplicateCheckOnce 2020-02-17 01:30:30 +09:00
Vojtech Vitek ca10e1901a Bump to v2.7.0-rc3 2019-03-06 01:41:15 -05:00
Vojtech Vitek d42f235ac6 Bump version to v2.7.0-rc2 2019-03-06 00:31:12 -05:00
Vojtech Vitek 02bb13b385 Bump version to v2.7.0rc1 2019-03-05 15:54:00 -05:00
Vojtech Vitek 6137172d9e Add `goose --version' #130 2019-03-05 15:24:30 -05:00
Vojtech Vitek 3de24458e7 Print the SQL statement on error 2019-03-04 21:13:40 -05:00
Tony 0e09297902 Remove verbose custom type 2018-12-21 14:24:46 +01:00
Tony b935f725d3 Use VerboseMode as boolean + Display block comments 2018-12-18 16:08:33 +01:00
Tony 7b7eaf1c29 Add verbose option to print executed sql statements 2018-12-17 09:08:30 +01:00
1vn 22d96449ec remove db fix, unexport stuff 2018-10-30 17:02:57 -04:00
1vn 45eeb19d7d add fix and timestamp default 2018-10-30 16:45:45 -04:00
Sukharev Maxim b800f677cb remove refresh command 2017-07-06 10:17:33 +07:00
Sukharev Maxim 0bf6bef042 Reset & refresh commands
Reset rolls back all migrations
Refresh rolls back all migrations and applies all available migrations again
it's useful for development to put db in latest state without full
recreation of db.
2017-07-02 12:33:44 +07:00
Nicholas Duffy abb2957c5d Update formatting per PR comments
Also rename `VersionId` to `VersionID`
2017-05-08 11:01:48 -06:00
Nicholas Duffy fc368fe618 Reformat code to adhere to gofmt standards 2017-05-07 07:02:54 -06:00
Piotr Kozłowski da36030846 Support for migrating up/down to a specific version 2017-03-17 14:44:22 +01:00
Vojtech Vitek (V-Teq) 643386c3a6 Refactor 2016-10-03 19:31:27 -04:00
Vojtech Vitek (V-Teq) f49670b2b4 Fix go migration up 2016-09-29 19:30:23 -04:00
Vojtech Vitek (V-Teq) 96680a8221 Better version duplicate check 2016-08-15 15:29:29 -04:00
Josh Fyne e4c7697123 Re-ordered create arguments, checked for missing create arguments 2016-06-29 15:40:13 -04:00
Josh Fyne db38a98723 dir string before extra args 2016-06-29 14:54:13 -04:00
Josh Fyne 7b43a0193d Adding create command back in 2016-06-29 14:20:34 -04:00
Vojtech Vitek (V-Teq) 1a51ec2e96 Add up-by-one goose command 2016-06-20 15:24:25 -04:00
Vojtech Vitek (V-Teq) 59f7a561cb Refactor commands 2016-03-03 14:46:04 -05:00