714 Commits

Author SHA1 Message Date
Nikita Sidorov
e7c5f69f48
Periodic output for long running migrations (#364)
* Periodic output for long running migrations

* Periodic output for long running migrations with seconds
2022-06-15 17:31:26 +02:00
dependabot[bot]
8d29bfcbba
Bump goreleaser/goreleaser-action from 2 to 3 (#357)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 12:43:19 -04:00
Michael Fridman
b1fc11adb3
Cleanup go modules 2022-05-19 20:58:04 -04:00
Michael Fridman
4a10c2c400
Remove matryer/is replace with simple internal lib (#356) 2022-05-19 19:50:11 -04:00
dependabot[bot]
b44efc3a96
Bump modernc.org/sqlite from 1.16.0 to 1.17.0 (#342) 2022-04-29 22:02:47 -04:00
Zeal Wierslee
33487e40af
Make NumericComponent errors more understandable (#334) 2022-04-29 10:22:52 -04:00
Michael Fridman
1311a0eb13
Add GOOSE_MIGRATION_DIR env variable (#337) 2022-04-27 22:58:27 -04:00
kafkiansky
c05d3375c8
Fixing clickhouse dialect placeholders (#333)
Co-authored-by: v.zanfir <v.zanfir@corp.mail.ru>
2022-04-23 22:49:57 -04:00
Nadin El-Yabroudi
6fc031a28a
Update ory/dockertest dependency (#330)
Co-authored-by: Nadin El-Yabroudi <nelyabroudi@cloudflare.com>
2022-04-21 19:36:46 -04:00
Michael Fridman
b7c7a8dc0f
Add gofmt formatting check to CI 2022-04-14 22:15:17 -04:00
dependabot[bot]
8f53c35cc4
Bump modernc.org/sqlite from 1.15.4 to 1.16.0 (#327)
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.15.4 to 1.16.0.
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.15.4...v1.16.0)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 20:36:57 -04:00
Juan Sanchez
fbd200be15
Fix misspelling in README.md (#323) 2022-04-02 21:37:02 -04:00
dependabot[bot]
0995b6908a
Bump modernc.org/sqlite from 1.14.8 to 1.15.4 (#326)
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.14.8 to 1.15.4.
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.14.8...v1.15.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-02 21:00:44 -04:00
Michael Fridman
205faf5cd3
Update CI to support go1.18 (#320) 2022-03-16 20:03:31 -04:00
Freek Wielstra
5cb7ab673d
Update README.md (#316) 2022-02-25 18:58:57 -05:00
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 v3.5.3 2022-02-11 22:04:22 -05:00
Michael Fridman
b2a7e51f9c
Add dependabot.yml (#306) v3.5.2 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) v3.5.1 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) v3.5.0 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 v3.4.1 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) v3.4.0 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
v3.3.1
2021-10-28 18:07:23 -04:00
Mike Fridman
6bef64ab8f Update readme v3.3.0 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) v3.2.0 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 v3.1.0 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) v3.0.1 2021-08-08 11:48:12 -04:00