Sha256: ca4579dc7ebeac6e6c623f332e22d160ed8afc2c67713d1d3532a103cde132fa

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

require "parse/db/import/activerecord_helpers"
require "parse/db/import/create_schema"
require "parse/db/import/import_data"


module Parse
  module Db
    class Import
      def run(options)
        options.default({ host: "localhost", adapter: "postgresql", entity: "**" })
        init_active_record options
        create_schema options
        import_data options
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
parse-db-import-0.0.2 lib/parse/db/import.rb
parse-db-import-0.0.1 lib/parse/db/import.rb