Sha256: fc21a6542eb3a1f1ab00d900d8e5137c28aecb78bc4f7c67fa21122989595fd9

Contents?: true

Size: 683 Bytes

Versions: 32

Compression:

Stored size: 683 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.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

32 entries across 16 versions & 1 rubygems

Version Path
phocoder-rails-0.0.48 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.48 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.47 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.47 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.46 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.46 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.45 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.45 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.44 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.44 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.43 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.43 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.42 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.42 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.41 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.41 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.40 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.40 lib/generators/phocoder_rails/templates/migration.rb
phocoder-rails-0.0.39 spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
phocoder-rails-0.0.39 lib/generators/phocoder_rails/templates/migration.rb