Add consumer stub.
Check for pending migration only on Rails 4.