structure:dump works only when the schema migration table exists

See rails/rails#14217 and rsim/oracle-enhanced#440