Nick Krichevsky
90e476692d
Update documentation for GetDBVersion to match functionality
2018-05-16 21:46:21 -04:00
Vojtech Vitek
95600eb369
Merge pull request #104 from chapsuk/table_name
...
Added ability to change db version table name
2018-05-03 11:24:55 -04:00
Maxim Krasilnikov
3676559dc0
Rename goose db version table name to tableName
2018-05-02 14:24:15 +03:00
Vojtech Vitek
f0b1c6ff8a
Merge pull request #105 from chapsuk/logger
...
Added logger interface and SetLogger func for redefine package output
2018-04-30 18:32:18 -04:00
Maxim Krasilnikov
1cebce80c7
Added logger interface and SetLogger func for redefine package output
2018-04-30 12:30:13 +03:00
Maxim Krasilnikov
0639337e0b
Added ability to change db version table name
2018-04-29 14:14:14 +03:00
Vojtech Vitek
b0454a40a9
Merge pull request #85 from Kansuler/master
...
TiDB documentation & improved cmd binary
2017-12-06 14:11:51 -05:00
Simon Wikstrand
c09709c167
Improved internal driver conversion
2017-12-06 12:08:46 +01:00
Simon Wikstrand
3f3c7a46a9
Changed tabs to spaces in string
2017-12-04 18:53:54 +01:00
Simon Wikstrand
35a69f048d
Added documentation, and support in the cmd binary for tidb
2017-12-04 18:51:48 +01:00
Vojtech Vitek
87401987ed
Merge pull request #84 from Kansuler/master
...
Added dialect for TiDB
2017-12-04 10:38:54 -05:00
Simon Wikstrand
340bf96224
Changed incorrect comment from copy paste
2017-12-01 18:51:55 +01:00
Simon Wikstrand
19673d2b47
Added a dialect for TiDB
2017-12-01 18:50:38 +01:00
Vojtech Vitek
a68655caf6
Merge pull request #83 from iReflect/master
...
Add support to override migration template
2017-11-22 12:10:53 -05:00
Amit Yadav
3ddaf111b0
Add support to override migration template
2017-11-22 13:44:01 +05:30
Vojtech Vitek
54bcdbef43
Merge pull request #80 from egorsmkv/master
...
Added a `parseTime` parameter to the MySQL status command
2017-10-31 15:15:26 -04:00
Yehor Smoliakov
738443a12b
Added a `parseTime` parameter to the MySQL status command
2017-10-31 20:16:50 +02:00
Vojtech Vitek
ac7080e2a2
Merge pull request #71 from JorritSalverda/use-logger-instead-of-fmt-print
...
replace fmt.Print statements with log.Print
2017-10-27 11:41:45 -04:00
Jorrit Salverda
17520f5188
replace fmt.Print statements with log.Print
2017-09-05 14:43:32 +02:00
Vojtech Vitek
02e9395c17
Merge pull request #62 from tsctao/error-dir-not-exist
...
Add error if migration directory does not exist
2017-07-09 17:35:09 -04:00
tsctao
0aec7f101d
Add error if migration directory does not exist
2017-07-09 16:56:11 +07:00
Vojtech Vitek
056a4d47dc
Merge pull request #60 from smacker/reset_refresh
...
Reset & refresh commands
2017-07-07 10:39:44 -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
Vojtech Vitek
a0e07f5e12
Merge pull request #58 from pressly/travis
...
Move tests from .travis.yml to goose_test.go
2017-06-21 11:46:07 -04:00
Vojtech Vitek
ae2fff1513
Move tests from .travis.yml to goose_test.go
2017-06-21 11:38:24 -04:00
Vojtech Vitek
aa0240c1d4
Merge pull request #56 from pressly/pr/41
...
Pr/41
2017-06-20 16:42:37 -04:00
Vojtech Vitek
488325a6ec
Remove debug log
2017-06-20 16:41:56 -04:00
Vojtech Vitek
9012a455c2
Fix tests
2017-06-20 16:38:00 -04:00
Vojtech Vitek
a26643fb2b
Fix migrations w/o TX, refactor
2017-06-20 16:30:29 -04:00
Vojtech Vitek
09b1a1b116
Fix test
2017-06-20 15:23:12 -04:00
Vojtech Vitek
9e816efe11
Rename new example
2017-06-20 15:16:02 -04:00
Vojtech Vitek
aa28bb30d8
Fix build
2017-06-20 15:09:05 -04:00
Vojtech Vitek
c579bcf2f9
Merge branch 'master' into optional-migrations
2017-06-20 15:04:58 -04:00
Vojtech Vitek
226da2c1b9
Merge pull request #55 from pressly/create
...
Create command reads .go files from FS
2017-06-20 15:03:04 -04:00
Vojtech Vitek
d10e0e5458
Fix panic
2017-06-20 15:00:29 -04:00
Vojtech Vitek
28a7ddbabe
Create command reads .go files from FS
...
Fixes #54
2017-06-20 14:55:23 -04:00
Vojtech Vitek
3f83937074
Merge pull request #53 from pressly/rename_examples_dir
...
Examples structure refactor
2017-06-20 13:04:07 -04:00
Vojtech Vitek
7e6b95b4d0
Examples structure refactor
2017-06-20 12:53:59 -04:00
Vojtech Vitek
ca9152bc76
Update README
2017-06-20 12:26:48 -04:00
Vojtech Vitek
d0b5acabe5
minor README fix
2017-06-20 12:20:05 -04:00
Vojtech Vitek
b9b5cddc80
Merge pull request #52 from pressly/examples
...
Improve examples
2017-06-20 12:19:03 -04:00
Vojtech Vitek
e66261f33e
Remove tip from Travis
2017-06-20 12:17:28 -04:00
Vojtech Vitek
8daf954f3a
Improve .travis tests
2017-06-20 12:12:51 -04:00
Vojtech Vitek
4df66b56ef
Add example READMEs
2017-06-20 12:11:08 -04:00
Vojtech Vitek
3690b1fefd
Refactor/simplify custom goose example with Go migrations
2017-06-20 12:11:08 -04:00
Vojtech Vitek
12dd99aa2c
Travis: Bump to go1.8
2017-06-20 12:11:08 -04:00
Vojtech Vitek
4754ec24d0
Merge pull request #51 from mkozjak/vendoring
...
Add vendoring support using dep vendor package manager.
2017-06-20 11:57:01 -04:00
Mario Kozjak
ebf4c10880
travis: bump golang version to 1.7
...
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
2017-06-20 17:43:16 +02:00
Mario Kozjak
33c4e7f6a3
Add vendoring.
...
- Add vendor dependencies for better macos homebrew support
- Referencing #42
- Referencing Homebrew/homebrew-core#14724"
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
Add vendoring.
- Add vendor dependencies for better macos homebrew support
- Referencing #42
- Referencing Homebrew/homebrew-core#14724
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
Revert "Add vendoring. (glide)"
This reverts commit 8e3eb6282c955f14d493d6f084b3cf4fb4ad7b2b.
vendoring: removed vendor/; moved Gopkg.toml to topdir; removed Gopkg.lock
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
travis: use golang/dep for dependency resolving; referencing #51
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
Gopkg.toml: remove examples
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
Gopkg.toml: goose doesn't need to pull itself :)
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
Gopkg.toml: should be able to upgrade minor versions
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
2017-06-20 17:35:18 +02:00