Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suuport for Firebird SQL #49

Closed
micakovic opened this issue Jun 4, 2018 · 11 comments
Closed

Suuport for Firebird SQL #49

micakovic opened this issue Jun 4, 2018 · 11 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@micakovic
Copy link

Any plans on supporting Firebird SQL?

https://github.com/nakagami/firebirdsql
works well with
https://golang.org/pkg/database/sql/

@dhui
Copy link
Member

dhui commented Jun 4, 2018

I'm not planning on adding support myself but feel free to open a PR with tests

@dhui dhui added enhancement New feature or request help wanted Extra attention is needed labels Jun 4, 2018
@kmuratov
Copy link
Contributor

Please review it
Added Firebird support #191

@kmuratov
Copy link
Contributor

@dhui
Copy link
Member

dhui commented Apr 17, 2019

Firebird is now supported in v4.3.0
This issue is resolved, but the Firebird tests are a bit flakey. e.g. there are intermittent failures.
Not sure if there's a bug with the Go client connecting to the DB or an issue w/ the Firebird docker image.

@kmuratov
Copy link
Contributor

This bug might be related to jacobalberty/firebird-docker#33

@dhui
Copy link
Member

dhui commented Apr 26, 2019

Since Firebird is creating a lot of problems with tests, I'm going to remove official support for it until the issue is resolved.

This means that:

  1. Shipped assets (namely the CLI) won't have Firebird support built-in including:
    • Docker images
    • Binaries on Github release page
    • Binaries on PackageCloud
  2. Tests won't run against Firebird

So for now, if you want Firebird support, you'll need need to build the migrate CLI yourself. There are also no guarantees that the integration will work since we're not testing with Firebird.

@jacobalberty
Copy link

This bug might be related to jacobalberty/firebird-docker#33

@kmuratov I fixed and closed that issue last night. I'm curious to know if it fixed the test flakiness for you guys.

@dhui
Copy link
Member

dhui commented Oct 12, 2019

@jacobalberty I doubt that your fix will address the issues we've been seeing as FIREBIRD_DATABASE, FIREBIRD_USER, and FIREBIRD_PASSWORD are all specified: https://github.com/golang-migrate/migrate/blob/v4.6.2/database/firebird/firebird_test.go#L35

@jacobalberty
Copy link

@dhui there were two fixes, one for specifying FIREBIRD_DATABASE without FIREBIRD_USER and FIREBIRD_PASSWORD, the other was it attempting to continue initialization before firebird had come up, see jacobalberty/firebird-docker@2ff3e3b

@dhui
Copy link
Member

dhui commented Oct 14, 2019

The last 2 CI builds didn't have any issues with Firebird, so that's looking good.
Once we have a few more successful builds, we can add official support for Firebird back to migrate!

@dhui
Copy link
Member

dhui commented Oct 22, 2019

Fixed in v4.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants