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

Quote table names with periods when dumping schemas #140

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

ericbeland
Copy link
Contributor

In Clickhouse, table names with periods are legal. The name must be quoted with backticks, however. This PR fixes the schema dumper to automatically quote column names with a period in them with backticks.

For column names with periods, this makes the schema restore for tests work correctly. For columns without periods, the change will have no effect.

@PNixx PNixx merged commit 29d0079 into PNixx:master Jul 11, 2024
6 checks passed
syabruk pushed a commit to machinio/clickhouse-activerecord that referenced this pull request Aug 19, 2024
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.

2 participants