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

Enable non snake-case naming in Postgres #445

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

Gembot-ai-admin
Copy link

We are integrating Crystal with other services written in NodeJS.

Since the Node project is responsible for managing the schema all the Table names are CamelCaps and the field names are camelCase.

This is at odds with the ruby/crystal world of snake_case, so this PR aims to enable users of Granite the option at least to use alternative naming conventions within their db schema, to allow interoperability with other code-bases.

@crimson-knight
Copy link
Member

Can anyone add some tests for this?

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

Successfully merging this pull request may close these issues.

5 participants