Commit Graph

599 Commits (928f577129eefa0ee34c5719479b0ba4b0ed054e)

Author SHA1 Message Date
Eng Zer Jun 699287dd75
test: use `T.TempDir` to create temporary test directory (#315) 2022-02-24 22:14:48 -05:00
Schparky 630ef77c33
DownTo returns error if no matching migration file is found (#314) 2022-02-21 18:36:57 -05:00
Michael Fridman b51d50131b
Add goose init command (#313) 2022-02-18 14:22:49 -05:00
Michael Fridman 5f1f43cfb2
Add dependabot ignore and update deps 2022-02-11 22:04:22 -05:00
Michael Fridman b2a7e51f9c
Add dependabot.yml (#306) 2022-02-04 08:46:48 -05:00
Michael Fridman 050c5e07cd
Update Go dependencies (#305) 2022-02-03 21:06:41 -05:00
Michael Fridman f263417fda
readme: update installation indtructions 2022-01-29 22:36:31 -05:00
Michael Fridman e310f14579
Add script to simplify macOS and linux install 2022-01-29 16:34:29 -05:00
Woong Seok Kang 7fffa2db30
readme: add password parameter when connect to PostgreSQL (#299) 2022-01-17 22:28:15 -05:00
smallming fc39794172
Fix cannot build using build tag 'no_mysql' (#301) 2022-01-17 22:20:58 -05:00
Michael Fridman c8aa123e31
Adds support to apply migrations without versioning (#291) 2021-12-13 00:37:44 -05:00
Arul fd1ba04fc8
Fix #216 added support for user with x509 enabled (#294)
Closes #216
2021-12-12 13:59:35 -05:00
Michael Fridman 38c3d58685
Remove version row on down migrations outside txn (#296) 2021-12-11 17:14:17 -05:00
Michael Fridman e493182c19
Add build constraints for windows_arm64 2021-11-25 20:47:59 -05:00
Michael Fridman cc7f02265a
Replace mattn/go-sqlite3 with modernc.org/sqlite (CGo-free port of SQLite) (#290) 2021-11-25 19:39:36 -05:00
Michael Fridman 1f7c0198a0
Fix spacing 2021-11-24 22:25:09 -05:00
Michael Fridman 665e3f33cd
Update readme and help command 2021-11-24 22:23:45 -05:00
Michael Fridman af4a7f1c57
Add new (go1.17) build tags 2021-11-24 22:07:19 -05:00
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