597 Commits

Author SHA1 Message Date
Vojtech Vitek
d431110f17
Merge pull request #135 from tbaud0n/master
Add verbose option to print executed sql statements
2019-03-04 15:02:13 -05:00
Vojtech Vitek
9292c394c8
Merge pull request #93 from hexdigest/master
fix goose memory consumption on large migrations
v2.5.0
2019-03-04 14:21:11 -05:00
Vojtech Vitek
53b79a1b57
Merge pull request #147 from pressly/stdlogger
Improve custom logger: Use stdlib's existing logger variable by default
2019-03-04 14:01:55 -05:00
Vojtech Vitek
40e1a66465 Improve custom logger: Use stdlib's existing logger variable by default
Follow-up on #105. Don't allocate new stdlib's logger and reuse
the default logger (unexported) variable. This will enable people
make custom changes to the std logger, ie. log.SetFlags(),
log.SetPrefix() or log.SetOutput() without having to duplicate
the same code and applying it to goose logger.
2019-03-04 13:36:48 -05:00
Tony
0e09297902 Remove verbose custom type 2018-12-21 14:24:46 +01:00
Tony
f640a5cb1b Clarify the verbose expected value 2018-12-18 16:13:56 +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
Vojtech Vitek
3c2a65ec01
Link to "versioning problem" 2018-12-12 11:31:43 -05:00
Ivan Zhang
7a98874933
Merge pull request #133 from pressly/fix_dialect
Remove unused update query
v2.4.5
2018-11-26 15:50:25 -05:00
1vn
f93e0e2376 remove unused sql 2018-11-26 15:12:15 -05:00
1vn
540204beb1 fix dialects 2018-11-26 15:11:23 -05:00
Vojtech Vitek
5807a91215
Merge pull request #131 from pressly/delete_row_on_down
delete version row on down
v2.4.4
2018-11-26 12:27:56 -05:00
1vn
66bba2f050 fix sql 2018-11-26 10:55:25 -05:00
1vn
1dd31552aa delete row on db-down 2018-11-23 16:54:36 -05:00
Ivan Zhang
0d3b571a1d
Merge pull request #128 from echoes341/fix-tab-usage
Fix tabs used in usage string
2018-11-15 11:49:56 -05:00
G. Rossin
fc1fb98cd9 Fix tabs used in usage string 2018-11-15 12:16:23 +01:00
Ivan Zhang
9e5cf6b12e
Merge pull request #127 from pressly/add-fix-return_2
add return here too
2018-11-14 12:26:59 -05:00
1vn
d7b833d93b add return here too 2018-11-14 12:20:06 -05:00
Vojtech Vitek
b6d48228e9
Merge pull request #126 from pressly/add-fix-return
add return here
v2.4.3
2018-11-14 12:04:12 -05:00
1vn
3c52b107b5 return here 2018-11-14 11:57:41 -05:00
Vojtech Vitek
82b1074b4c
Merge pull request #125 from pressly/fix_goose_panic
clean up arg parsing a bit
v2.4.2
2018-11-13 15:14:00 -05:00
1vn
428691caa4 port to example 2018-11-13 15:06:51 -05:00
1vn
17191360c4 fix test 2018-11-13 15:06:17 -05:00
1vn
00966d4fc8 add test case 2018-11-13 14:59:43 -05:00
1vn
647b09602a add test case 2018-11-13 14:59:32 -05:00
1vn
38f0d7ab60 clean up arg parsing a bit 2018-11-13 14:57:30 -05:00
Vojtech Vitek
da4711c369
Merge pull request #123 from pressly/goose-lite
support build tags to exclude drivers
v2.4.1
2018-11-13 13:24:54 -05:00
1vn
0f83d35382 address comment 2018-11-13 13:20:11 -05:00
1vn
d133095bcc update tests to output binaries to bin 2018-11-13 13:17:10 -05:00
1vn
2e097bc085 fix test 2018-11-13 11:38:18 -05:00
1vn
7cae30c634 not -> no 2018-11-13 11:37:44 -05:00
1vn
750e477310 update readme 2018-11-13 11:21:31 -05:00
1vn
cd715b596a add drivers 2018-11-13 11:04:27 -05:00
1vn
e62f9850d3 fix test 2018-11-13 10:53:37 -05:00
1vn
28d5153893 test tags 2018-11-13 10:35:01 -05:00
1vn
2c9dbcf7ef build in test 2018-11-12 15:41:56 -05:00
1vn
2c82cdc8c5 add test for lite binary 2018-11-12 15:38:11 -05:00
1vn
5da23b54c9 goose lite 2018-11-12 15:32:52 -05:00
Vojtech Vitek
58aa6a8fce
Merge pull request #120 from pressly/timestamp_versioning
add `fix` and timestamped migrations by default
v2.4.0
2018-11-06 18:38:45 -05:00
1vn
90f0cf504b update documentation 2018-11-06 16:54:31 -05:00
1vn
a4a53bdf99 add to example as well 2018-11-06 14:14:09 -05:00
Vojtech Vitek
339dbed96b
Merge pull request #116 from TomasBarry/master
Exit the program when migration can't be parsed
2018-11-02 13:26:09 -04:00
1vn
3c2c9d9076 add output 2018-10-31 12:27:15 -04:00
1vn
c6c49ff995 remove yolo 2018-10-30 17:08:25 -04:00
1vn
22d96449ec remove db fix, unexport stuff 2018-10-30 17:02:57 -04:00
1vn
286883adf5 add db fix as well 2018-10-30 16:51:07 -04:00
1vn
45eeb19d7d add fix and timestamp default 2018-10-30 16:45:45 -04:00
TomasBarry
39c030eac9 Exit the program when migration can't be parsed 2018-09-24 20:50:27 +01:00
Vojtech Vitek
a4bf952640
Merge pull request #106 from ollien/master
Update documentation for GetDBVersion to match functionality
2018-05-17 14:16:47 -04:00