465 Commits

Author SHA1 Message Date
Floyd Jones
6631aae111
updating readme and create command for v3 (#265) v3.0.1 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) v3.0.0 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
v2.7.0
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",
v2.7.0-rc5
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
Oleksandr Muliar
2178cbe600 Close DB connection in main func as well 2019-11-08 13:37:06 +02:00
Oleksandr Muliar
6b904ddb6d Gracefully close DB connection after migration is complete 2019-11-08 13:34:57 +02:00
Vojtech Vitek
e42e49944b
Merge pull request #182 from adampie/master
Fixing broken link in README
2019-08-29 18:25:12 +02:00
Adam Pietrzycki
a67bdd09fb
Update README.md 2019-06-22 13:06:08 +01:00
Adam Pietrzycki
2669aa5968
Fixing broken link in README 2019-06-22 13:04:01 +01:00
Songmu
ce9abe49f6 support environment variable GOOSE_DRIVER and GOOSE_DBSTRING 2019-06-21 12:00:17 +09:00
Songmu
521de29112 automatically set TLS config value to DSN when using TLS on mysql 2019-06-21 10:36:01 +09:00
Songmu
cf288525b2 tls support on mysql by using CA's pem 2019-06-20 15:18:52 +09:00
Vojtech Vitek
940412f732
Merge pull request #175 from m0ar/add-up-by-one-to-docs
Add up-by-one to documentation
2019-05-29 10:08:46 -04:00
Vojtech Vitek
fe7f25d92f
Merge pull request #174 from dmitrypich/hotfix/nil-pointer-panic-with-ro-db
fixing panic when a transaction can't be opened
2019-05-29 10:07:26 -04:00
Vojtech Vitek
d5539461e5
Merge pull request #173 from bandlab/pressly
Fixed driver initialisation for MSSQL
2019-05-29 08:05:51 -04:00
Edvard
5975eda15e Add up-by-one to documentation 2019-05-28 11:22:27 +02:00
Pichugin Dmitry
cfa2c3979d fixing panic when a transaction can't be open
Signed-off-by: Pichugin Dmitry <pichugin.dmitry.v@gmail.com>
2019-05-26 09:53:19 +03:00
Aleksei Maslov
a8f409041d fixed driver initialisation for mssql. 2019-05-24 14:44:43 +08:00
Vojtech Vitek
799fcfb84b
Merge pull request #169 from bandlab/pressly
Added support for MSSQL
2019-05-23 11:43:17 -04:00
Aleksei Maslov
e82c3253ff rolled back travis setup. 2019-05-15 14:07:35 +08:00