Dongri Jin
7bc1756c61
Fix install command ( #289 )
2021-11-24 10:00:49 -05:00
Gohryt
4148551f3e
option to use pgx instead pq ( #283 )
2021-11-23 20:01:32 -05:00
Michael Fridman
1f0759947f
Update tests and gitignore ( #285 )
...
Fixes #284
2021-10-28 18:07:23 -04:00
Mike Fridman
6bef64ab8f
Update readme
2021-10-24 15:16:17 -04:00
Michael Fridman
8ed5f6370b
Add the ability to apply missing (out-of-order) migrations ( #280 )
2021-10-24 14:49:24 -04:00
Mike Fridman
9f8813339a
Update dependencies; go mod tidy and verify
2021-10-17 16:21:06 -04:00
Michael Fridman
48f48dc699
Add container-based database tests for postgres and mysql ( #276 )
2021-10-13 09:22:43 -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
Mike Fridman
f24b19cca8
Update readme with mysql multiStatements
2021-10-11 16:09:35 -04:00
Michael Fridman
0e770f837f
Add goose logo ( #274 )
2021-09-04 11:56:16 -04:00
Michael Gunkoff
872d9e9515
fixed a typo in the OpenDBWithDriver() description. ( #253 )
...
Co-authored-by: Michael Gunkoff <m.onishenko@qvant.ru>
2021-08-20 22:55:59 -04:00
Konstantin Grigorev
e976a731b4
fix clickhouse goose table name ( #270 )
2021-08-20 22:54:08 -04:00
Michael Fridman
d15e25ab59
Update readme to clarify supoprted go version
2021-08-20 22:38:49 -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
732e82d14f
Update github action go version: go1.17 ( #268 )
2021-08-16 18:09:28 -04:00
Michael Fridman
17a2045e0c
Set minimum supported version to go1.16 ( #267 )
2021-08-12 22:25:10 -04:00
Floyd Jones
6631aae111
updating readme and create command for v3 ( #265 )
2021-08-08 11:48:12 -04:00
Mike Fridman
6d62d8314e
Update Readme badges and install command
2021-08-04 09:30:43 -04:00
Michael Fridman
ff32c04cfd
Adopt Go modules as /v3 ( #261 )
2021-08-04 09:16:42 -04:00
Michael Fridman
f4a495fe54
Add github actions and remove travis ( #245 )
2021-03-08 08:15:37 -05:00
Michael Fridman
7dd9c10b04
Merge pull request #215 from warrn/warrn/214
...
Option '-s' causes CREATE to use sequential versioning
2020-12-08 11:42:14 -05:00
Vojtech Vitek
0fbe41dcd4
Merge pull request #227 from Matthiew/feature/new_version_pq
...
Update github.com/lib/pq from v1 to v1.1
2020-09-14 17:25:30 +02:00
mfaule
37648a7ab3
Update github.com/lib/pq from v1 to v1.1
2020-09-14 16:24:02 +02:00
Vojtech Vitek
ad369d945e
Merge pull request #224 from arvenil/patch-1
...
Fix: Do not require MySQL when --tags="no_mysql",
2020-08-13 15:15:02 +02:00
Kamil Dziedzic
39041ad876
Fix: Do not require MySQL when --tags="no_mysql",
...
The `go build -tags='no_mysql' -i -o goose ./cmd/goose` doesn't work properly, still imports MySQL.
Deleted imports are already in `driver_mysql.go`, they shouldn't be in `driver_no_mysql.go`.
Fixes for me #223 .
2020-08-12 22:52:34 +02:00
Warren Nelson
16a9d45b6e
Option '-s' causes CREATE to use sequential versioning
2020-05-19 01:46:20 -05:00
Vojtech Vitek
2769ad7b55
Merge pull request #211 from tristanfisher/trivial_typo_fix
...
fix trivial typo in CollectMigrations error string
2020-04-19 13:58:50 +02:00
Tristan Fisher
8c026ee7c1
does not exists -> does not exist
2020-04-18 22:47:35 -04:00
Vojtech Vitek
9ede98d097
Merge pull request #180 from Songmu/tls
...
add `--certfile` option to support TLS connection on mysql
2020-04-16 19:23:55 +02:00
Songmu
522080545b
clear 'tls=value' from original dsn on mysql
2020-04-15 22:24:40 +09:00
Songmu
c6b57c23c5
Merge branch 'master' into tls
2020-04-13 19:24:31 +09:00
Songmu
c868713e99
fix option name
2020-04-13 19:21:12 +09:00
Vojtech Vitek
5ec9f603ae
Merge pull request #210 from pressly/VojtechVitek-patch-1
...
Fixes #209 (regression from f3abc85f
): Add default -dir value
2020-04-13 12:04:19 +02:00
Vojtech Vitek
93314d4505
Fixes #209 (regression from f3abc85f
): Add default -dir value
2020-04-13 12:03:10 +02:00
Vojtech Vitek
3058abc467
Merge pull request #208 from huynguyenh/feature/add-clickhouse-support
...
Add clickhouse support
2020-04-11 21:26:04 +02:00
Huy Nguyen
81d4b42ea4
add clickhouse support
2020-04-12 00:10:32 +07:00
Songmu
83d8342ad2
Merge branch 'master' into tls
2020-04-12 01:21:24 +09:00
Vojtech Vitek
5d8339c4a6
Merge pull request #181 from Songmu/env-dsn
...
support environment variable GOOSE_DRIVER and GOOSE_DBSTRING
2020-04-11 18:19:59 +02:00
Songmu
a5db7de44c
using registerTLSConfig for MySQL only
2020-04-12 01:08:15 +09:00
Songmu
80f5bc709b
rename option var name to certfile from sslCA
2020-04-12 00:46:58 +09:00
Vojtech Vitek
89caaf7829
Merge pull request #192 from msdinit/examples/close-db-connection
...
Close DB connection after migration is complete
2020-04-11 17:38:21 +02:00
Vojtech Vitek
2d75328550
Merge pull request #196 from caseycs/add-table-flag
...
allow to specify migrations table
2020-04-11 17:24:40 +02:00
Vojtech Vitek
33602bcbcb
Merge pull request #202 from KeiichiHirobe/fix-misleading-code
...
Fix misleading code/comment
2020-04-11 17:22:17 +02:00
Huy Nguyen
3e080edad3
add clickhouse driver
2020-04-11 00:52:35 +07:00
Huy Nguyen
954940e3ab
add clickhouse support
2020-04-11 00:51:35 +07:00
Keiichi Hirobe
8b1f056e11
delete unused value:duplicateCheckOnce
2020-02-17 01:30:30 +09:00
Keiichi Hirobe
ff01d6bdb6
Glob not support **. Change from ** to * to avoid confusion
2020-02-17 01:27:37 +09:00
Keiichi Hirobe
7218a8d9f2
fix comment of Migration.Source
2020-02-17 01:20:08 +09:00
Ilia Kondrashov
f3abc85fac
allow to specify migrations table
2019-12-14 19:44:40 +02:00
Oleksandr Muliar
790299c962
Use terser syntax
2019-11-08 16:38:31 +02:00