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

QuestDB Dialect #888

Open
cedws opened this issue Jan 24, 2025 · 2 comments
Open

QuestDB Dialect #888

cedws opened this issue Jan 24, 2025 · 2 comments

Comments

@cedws
Copy link

cedws commented Jan 24, 2025

I would like to use goose to migrate a QuestDB database, but it does not support this SQL dialect. I tried with the Postgres dialect but it doesn't have the integer type.

ERROR: unsupported column type: integer (SQLSTATE 00000)

I may get around to opening a PR for this.

As a sidenote, maybe it would be nice if the API exposed a way to register dialects externally.

@mfridman
Copy link
Collaborator

If using goose as a library, you can implement the Store interface to extend the supported dialects.

There's a bit of documentation here: https://pressly.github.io/goose/documentation/custom-store/

Does this help?

@cedws
Copy link
Author

cedws commented Jan 24, 2025

Ah this is exactly what I was looking for, thanks. Didn't see it in the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants