Add query for sqla-migrate 0.9.2 bug 1368391

Nearly 497K hits in 2 days, all failures,
check and gate across multiple projects.

Change-Id: I9f2a58c95c3484613e6c148e90667dd839fbcfec
Related-Bug: #1368391
Merge "Add query for sqla-migrate 0.9.2 bug 1368391"