Skip to content

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