module RailsApiAuth

  class Engine < ::Rails::Engine

    config.generators do |g|
      g.test_framework :rspec
    end

  end

end

module RailsApiAuth

  class Engine < ::Rails::Engine

    initializer :append_migrations do |app|
      unless app.root.to_s.match root.to_s
        config.paths['db/migrate'].expanded.each do |expanded_path|
          app.config.paths['db/migrate'] << expanded_path
        end
      end
    end

    config.generators do |g|
      g.test_framework :rspec
    end

  end

end

Make migrations available for to application's rake db:migrate
Make migrations available for to application's rake db:migrate
