refs CNVS-3902
even if the preference is that they don't
test plan:
* bring up a fresh database
* it should not fail
Change-Id: I5e7b2cf8479de4b3f1564ee65cd1cb456ae4674e
Reviewed-on: https://gerrit.instructure.com/17873
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
QA-Review: Clare Hetherington <clare@instructure.com>
the index condition and the query condition didn't quite line up,
forcing it to do table scans
test plan:
* notifications should work
* delayed job query that finds files to notify for should not
do a full table scan
Change-Id: I86930ef6b4ec450bdd325bb96651fc0f88967836
Reviewed-on: https://gerrit.instructure.com/12451
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>