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 |
|