535 Commits

Author SHA1 Message Date
Brandon Chinn
9823e00b3f
Upgrade golang.org/x/text (#421) 2022-12-02 07:39:28 -05:00
Michael Fridman
28113a216c
Print duration of execution time of each migration (#410)
Co-authored-by: Michael Fridman <mfridman@MacBook-Air.local>
2022-10-21 09:25:16 -04:00
Systemnick
f30eb6d8c5
Update deprecated query in createVersionTableSQL for new ClickHouse versions since 22.7 (#408) 2022-10-21 09:22:52 -04:00
Michael Fridman
1c152152a1
Remove deprecated package ioutil and upgrade deps (#411) 2022-10-20 18:07:42 -04:00
Michael Fridman
5a6c34ee2d
Add NO_COLOR (-no-color) support (#409) 2022-10-20 16:23:29 -04:00
dependabot[bot]
b6c15b9660
Bump modernc.org/sqlite from 1.18.1 to 1.19.1 (#406)
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.18.1 to 1.19.1.
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.18.1...v1.19.1)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 09:38:09 -04:00
Egor Lyutov
8abd890d06
Exit with error 1 without required arguments (#399) v3.7.0 2022-08-29 16:45:11 -04:00
Michael Fridman
2278d75a86
Upgrade direct and indirect deps (#391) 2022-08-12 22:25:05 -04:00
Michael Fridman
0a72970737
logger: add nop logger (#384) 2022-07-13 08:18:12 -04:00
Takahiro Ikeuchi
496d7cdf15
parser: preserve empty lines in SQL statements (#372) 2022-07-12 20:59:24 -04:00
Craig Pastro
bc72e7863c
postgres: switch from lib/pq to jackc/pgx (#382) 2022-07-09 21:48:24 -04:00
Michael Fridman
7792d04aae
Update GH workflow to include go version 1.19.0-rc.1 (#381) 2022-07-08 23:53:10 -04:00
turbofish
45a192fa30
Add a credit notation for Gopher image in README (#375) 2022-07-08 23:36:54 -04:00
dependabot[bot]
4826c0313b
Bump github.com/ClickHouse/clickhouse-go/v2 from 2.1.0 to 2.2.0 (#377)
Bumps [github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/ClickHouse/clickhouse-go/releases)
- [Commits](https://github.com/ClickHouse/clickhouse-go/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/ClickHouse/clickhouse-go/v2
  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-07-08 23:33:32 -04:00
Michael Fridman
f3d569f61b
Remove pkg/errors in favor of std lib (#373) v3.6.1 2022-06-22 21:36:07 -04:00
Michael Fridman
d04c088d09
e2e: move db container helpers to internal/testdb (#371) 2022-06-20 21:42:33 -04:00
John Slavick
bfd4286c0f
Fix example index out of range error (#368) 2022-06-20 21:37:46 -04:00
Michael Fridman
4ec294d599
clickhouse: remove hard-coded verb in dialect (#370) 2022-06-20 20:55:31 -04:00
Michael Fridman
1b45f3781e
e2e: add clickhouse and update v2 (#369) v3.6.0 2022-06-19 20:58:01 -04:00
Maxim Krasilnikov
e8d93a0734
clickhouse: Fixed get db version query (#240) 2022-06-18 13:54:46 -04:00
Michael Fridman
dc83fe7e30
Update go dependencies 2022-06-17 22:52:18 -04:00
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