Sha256: 34c32c6125899e347a38dcf699c59ef7b7fdf7aaf9bccc371e9923095c03b6cd

Contents?: true

Size: 596 Bytes

Versions: 1

Compression:

Stored size: 596 Bytes

Contents

class CreateActiveScraperResponses < ActiveRecord::Migration
  def change
    create_table :active_scraper_responses do |t|
      t.text :body, :limit => 4294967295
      t.integer :code
      t.text :headers
      t.string :content_type
      t.integer :checksum
      t.integer :active_scraper_request_id

      t.timestamps      
    end

    add_index :active_scraper_responses, [:active_scraper_request_id, :created_at], name: 'index_request_id_and_created_at'
    add_index :active_scraper_responses, [:active_scraper_request_id, :checksum], name: 'index_request_id_and_checksum'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_scraper-0.0.1 db/migrate/20131229033843_create_active_scraper_responses.rb