Commit Graph

509 Commits (33487e40af7ae91cca46cef1f80bfb63c392e909)

Author SHA1 Message Date
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 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