Check db/migrate/ instead of schema.rb

This avoids the problems with schema_format :sql. Fixes #57, #59 and #74.
Merge pull request #177 from chuckd/patch-1

Check db/migrate/ instead of schema.rb