Patrik Lundin
|
9c748e24f4
|
Remove trailing newline from log calls (#878)
|
2025-01-29 09:19:40 -05:00 |
Stephen Howell
|
c541882fdb
|
refactor: Use UTC for timestamps when creating a migration (#242)
Co-authored-by: Mike Fridman <mf192@icloud.com>
|
2023-12-14 23:09:08 -05:00 |
Michael Fridman
|
7011525591
|
fix: collect go migrations (#588)
|
2023-08-27 11:31:40 -04:00 |
Ori Shalom
|
e18fac6930
|
feat: add context-aware Go migrations (#534)
|
2023-06-29 16:15:39 -04:00 |
Craig Pastro
|
7d9fbafd99
|
fix: return error when no migration files are found or dir is not a directory (#539)
|
2023-06-29 15:48:50 -04:00 |
Michael Fridman
|
f3d569f61b
|
Remove pkg/errors in favor of std lib (#373)
|
2022-06-22 21:36:07 -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 |
Floyd Jones
|
6631aae111
|
updating readme and create command for v3 (#265)
|
2021-08-08 11:48:12 -04:00 |
Warren Nelson
|
16a9d45b6e
|
Option '-s' causes CREATE to use sequential versioning
|
2020-05-19 01:46:20 -05:00 |
Vojtech Vitek
|
7ee38eb53a
|
goose create: Improve Go template, give the funcs meaninghful names
|
2019-03-05 22:11:19 -05:00 |
Vojtech Vitek
|
ed924a5874
|
Go template: Rename pkg to migrations, plural better describes the pkg
|
2019-03-05 16:32:44 -05:00 |
Vojtech Vitek
|
89ee209ac1
|
Improve SQL template for `goose create' #34
|
2019-03-05 16:29:17 -05:00 |
1vn
|
45eeb19d7d
|
add fix and timestamp default
|
2018-10-30 16:45:45 -04:00 |
Maxim Krasilnikov
|
1cebce80c7
|
Added logger interface and SetLogger func for redefine package output
|
2018-04-30 12:30:13 +03:00 |
Amit Yadav
|
3ddaf111b0
|
Add support to override migration template
|
2017-11-22 13:44:01 +05:30 |
Jorrit Salverda
|
17520f5188
|
replace fmt.Print statements with log.Print
|
2017-09-05 14:43:32 +02:00 |
Vojtech Vitek
|
11a1b26516
|
Create migration file with next version number
Fixes #25
|
2017-06-19 17:23: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
|
7b43a0193d
|
Adding create command back in
|
2016-06-29 14:20:34 -04:00 |