Sha256: a9a0ba16e45bdebcc2c68199a6a7ca1ad60c3f5c7962d1e3fc6b82429031805d

Contents?: true

Size: 546 Bytes

Versions: 14

Compression:

Stored size: 546 Bytes

Contents

class CreateCloudhdrJobs < ActiveRecord::Migration
  def self.up
    create_table :cloudhdr_jobs do |t|
      t.string   "image_type"
      t.integer  "image_id"
      t.integer  "cloudhdr_job_id"
      t.integer  "cloudhdr_input_id"
      t.integer  "cloudhdr_output_id"
      t.string   "cloudhdr_status"
      t.string   "tracking_mode"
      t.integer  "user_id"
      t.timestamps
    end
    add_index :cloudhdr_jobs, [:image_type, :image_id]
    add_index :cloudhdr_jobs, :id
  end

  def self.down
    drop_table :cloudhdr_jobs
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cloudhdr_rails-0.0.14 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.13 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.12 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.11 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.10 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.9 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.8 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.7 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.6 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.5 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.4 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.3 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.2 lib/generators/cloudhdr_rails/templates/migration.rb
cloudhdr_rails-0.0.1 lib/generators/cloudhdr_rails/templates/migration.rb