Sha256: bc32c6c689972bc5d09c100c6d941219b0ea193e8471bca6c2c18920d5b852ba

Contents?: true

Size: 224 Bytes

Versions: 9

Compression:

Stored size: 224 Bytes

Contents

class CreateCrawls < ActiveRecord::Migration
  def change
    create_table :crawls do |t|
      t.string :crawl_name
      t.timestamps(:null => false)
    end

    add_index(:crawls, :crawl_name, :unique => true)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
elasticrawl-1.1.8 db/migrate/201401051536_create_crawls.rb
elasticrawl-1.1.7 db/migrate/201401051536_create_crawls.rb
elasticrawl-1.1.6 db/migrate/201401051536_create_crawls.rb
elasticrawl-1.1.5 db/migrate/201401051536_create_crawls.rb
elasticrawl-1.1.4 db/migrate/201401051536_create_crawls.rb
elasticrawl-1.1.3 db/migrate/201401051536_create_crawls.rb
elasticrawl-1.1.2 db/migrate/201401051536_create_crawls.rb
elasticrawl-1.1.1 db/migrate/201401051536_create_crawls.rb
elasticrawl-1.1.0 db/migrate/201401051536_create_crawls.rb