Follow-up from "Updates for default flags from deprecated migrations"

The following discussion from !200 (merged) should be addressed:

  • @john-mason started a discussion:

    suggestion: WDYT if you DRY this up and abstracted this out into a function? IndexNameCommits just tacks on -commits to end.

Edited by Siddharth Dungarwal