Created
October 9, 2019 21:47
-
-
Save deevis/6b5c0ecf0cdc97c6baf950266fb4673a to your computer and use it in GitHub Desktop.
Rails migrations histogram by year/month
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for year in `seq 2017 2019`; do for month in `seq -f "%02g" 1 12`;do echo -n "$year$month";find db/migrate -iname "*.rb" | grep "/$year$month" | wc -l; done; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment