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

Use clickhouse_ecto for db connection #317

Merged
merged 8 commits into from
Sep 17, 2020
Merged

Use clickhouse_ecto for db connection #317

merged 8 commits into from
Sep 17, 2020

Conversation

ukutaht
Copy link
Contributor

@ukutaht ukutaht commented Sep 16, 2020

Currently we're using a low-level database connection library called Clickhousex. There's a project built on top of that to integrate with Ecto 3. It's not well-maintained but I managed to get the library to work with some modifications. The main reason to use Ecto is to be able to run migrations when the Clickhouse Schema changes.

TODO:

  • Push our own fork for clickhouse_ecto
  • Start a changelog and note the breaking change to the configuration

@ukutaht ukutaht merged commit 4b36bb7 into master Sep 17, 2020
@ukutaht ukutaht deleted the migrations branch September 17, 2020 13:36
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

Successfully merging this pull request may close these issues.

1 participant