Sha256: 347cb50947685ab01964e565791021f17a0b9678652232975e1c1200047aaf04

Contents?: true

Size: 744 Bytes

Versions: 10

Compression:

Stored size: 744 Bytes

Contents

class CreateEncodableJobs < ActiveRecord::Migration
  def self.up
    create_table :encodable_jobs do |t|
      t.string   "encodable_type"
      t.integer  "encodable_id"
      t.integer  "phocoder_job_id"
      t.integer  "phocoder_input_id"
      t.integer  "phocoder_output_id"
      t.string   "phocoder_status"
      t.integer  "zencoder_job_id"
      t.integer  "zencoder_input_id"
      t.integer  "zencoder_output_id"
      t.string   "zencoder_status"
      t.string   "zencoder_url"
      t.string   "tracking_mode"
      t.integer  "user_id"
      t.timestamps
    end
    add_index :encodable_jobs, [:encodable_type, :encodable_id]
    add_index :encodable_jobs, :id
  end

  def self.down
    drop_table :encodable_jobs
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phocoder-rails-0.0.58 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.57 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.56 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.55 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.54 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.53 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.52 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.51 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.50 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.49 lib/generators/phocoder_rails/templates/migration.rb