Sha256: 3c035e015d1d2552448271a1bd2cfb469420e771c36027eb34d752a47fb17423

Contents?: true

Size: 315 Bytes

Versions: 9

Compression:

Stored size: 315 Bytes

Contents

class CreateJobs < ActiveRecord::Migration
  def change
    create_table :jobs do |t|
      t.string :type
      t.string :job_name
      t.string :job_desc
      t.integer :max_files
      t.string :job_flow_id
      t.timestamps(:null => false)
    end

    add_index(:jobs, :job_name, :unique => true)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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