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

Snake case conversion script #67

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

Snake case conversion script #67

wants to merge 2 commits into from

Conversation

kf8a
Copy link
Contributor

@kf8a kf8a commented Jul 17, 2019

Added a util directory with a ruby script to rename columns and tables to snake_case

@gastil
Copy link
Contributor

gastil commented Jul 17, 2019

Sven wrote this so he can have a mb install in snake_case, for comparison to his metadata database. He will run this as a post-installation script. We can offer this as an option to others... although be aware this may cause (the dreaded phenomenon of) divergence. So, use responsibly. Note this is view-safe, since (1) it operates only on the lter_metbase schema which does not have views, and the alter statements, executed live, will cascade into the views in other schemas such as mb2eml. select A as B will only have A affected, not B. Looks good to me.

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