Commit Graph

561 Commits (15ef2bcb6e6b6f38de5519dff5e57c6480373b00)

Author SHA1 Message Date
Andreas Deininger 15ef2bcb6e
chore: fix comment typos (#480) 2023-03-14 20:01:38 -04:00
Michael Fridman c462979327
refactor: create a generic store and stub out dialect queries (#477) 2023-03-14 08:34:47 -04:00
Michael Fridman 33106fc6f2
chore: update annotation comments (#478) 2023-03-13 09:19:48 -04:00
Pierre R 99204d2421
build: upgrade to github.com/jackc/pgx/v5 (#475) 2023-03-11 11:34:14 -05:00
Mike Fridman 935e8833e8 build: golangci-lint add skip-pkg-cache: true 2023-03-09 22:46:53 -05:00
Michael Fridman 7e6e5120a2
build: update CI go version references and upgrade deps (#473) 2023-03-09 22:36:17 -05:00
ipoerner b62288d2fe
fix: exclude Go test files from migrations (#474) 2023-03-04 12:48:57 -05:00
Michael Fridman 0af59c1a4e
build: upgrade dependencies (#471) 2023-02-25 15:36:42 -05:00
Michael Fridman 8c25e3bd17
feat: `goose validate` command (#449) 2023-02-25 14:33:10 -05:00
Jonas Hungershausen 60610d3ae3
remove `tls` override from mysql dsn normalizing (#468)
Fixes https://github.com/pressly/goose/issues/460
2023-02-21 21:49:18 -05:00
Michael Fridman 2a6d7c092f
build: bump minimum Go version to 1.18 (update CI) (#458) 2023-02-02 08:51:38 -05:00
Michael Fridman b4af752f57
fix test race condition and remove verbose global in parser (#457) 2023-01-28 10:41:44 -05:00
Michael Fridman c2f9bcbc80
ci: drop 1.17 tests and add 1.20-rc.3 (#455) 2023-01-28 09:21:36 -05:00
Maxim Krasilnikov ad90652042
clickhouse: set mutations_sync 2 for delete version (#454) 2023-01-27 09:39:06 -05:00
Michael Fridman 32ad603fee
Add golangci-lint and fix errors (#456) 2023-01-27 08:30:31 -05:00
Michael Fridman bf2656094c
fix: parser handling comments and empty lines (#446) 2023-01-26 09:42:38 -05:00
Michael Fridman 203277344b
feat: add support for `*sql.DB`-registered Go migration (#450) 2023-01-25 08:15:50 -05:00
Michael Fridman 635add3280
docs: clarify annotation requirement and ordering (#452) 2023-01-24 08:30:14 -05:00
Michael Fridman 74eaeab8ad
test: add more parser tests (#445) 2023-01-20 09:24:06 -05:00
Michael Fridman 2636c84dc8
refactor: move sql parser into internal package (#444) 2023-01-19 09:19:13 -05:00
Michael Fridman db8feddea6
feat: add goose env command (#443) 2023-01-19 08:35:36 -05:00
dependabot[bot] 436452dc94
ci: bump goreleaser/goreleaser-action from 3 to 4 (#430)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 08:50:29 -05:00
Sasha Melentyev 81d44b3095
refactor: Use math.MaxInt64 const as MaxVersion instead of hardcode number (#441)
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>

Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-01-18 08:47:50 -05:00
Michael Fridman 1939e6175b
build: upgrade dependencies (#442) 2023-01-18 08:45:56 -05:00
Bob Pace b5826417d9
Adds vertica driver support (#393) 2022-12-04 20:57:54 -05:00
Sasha Melentyev 73e53f9922
Changing Sprintf to Sprint if there is no formatting (#417) 2022-12-02 07:41:05 -05:00
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) 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) 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) 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