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

clickhouse: Quote db name in ensureVersionTable #857

Merged
merged 4 commits into from
Dec 20, 2023

Conversation

luca-nardelli
Copy link
Contributor

Hi all!

Today I wanted to use migrate on a clickhouse cloud cluster where we were setting up databases with dashes in their name, e.g. database-name. This broke migrate since the SHOW TABLES query for clickhouse did not quote the database name, hence this PR.

@coveralls
Copy link

coveralls commented Nov 29, 2022

Coverage Status

coverage: 59.057% (+0.006%) from 59.051%
when pulling 2063684 on luca-nardelli:master
into 0695426 on golang-migrate:master.

Copy link
Member

@dhui dhui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luca-nardelli Thanks for the PR! And sorry for the slow response...

@dhui dhui merged commit a94396c into golang-migrate:master Dec 20, 2023
8 checks passed
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.

3 participants