Open kf8a opened 5 years ago
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.
Added a util directory with a ruby script to rename columns and tables to snake_case