Closed MrOrz closed 4 years ago
Thanks for the review! I was also considering extracting the logic -- there is indeed a duplication, but migration scripts should be one-off and highly customized. Maybe we can leave it as-is for now and see if future occurrences suggest a more solid common pattern.
analytics
index so that we can add the new index mapping to existing databasedb/loadSchema.js
exit with non-zero return code so that Travis can capture the error when schema is invalidanalytics
index