fix mysql build regarding module progression

test plan:
 - automated regressions pass (postgres & mysql)

fixes CNVS-12965

Change-Id: Id91325c97a0a88257d1b030f9f2aee481854328a
Reviewed-on: https://gerrit.instructure.com/34709
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Mark Severson <markse@instructure.com>