Sha256: a27e64f74b37aef20b60f44bd3a1ef14eb0405b83a0eeac0ef12393393557e48

Contents?: true

Size: 564 Bytes

Versions: 112

Compression:

Stored size: 564 Bytes

Contents

class CreateForemanTasks < ActiveRecord::Migration[4.2]
  def change
    create_table :foreman_tasks_tasks, :id => false, :primary_key => :id do |t|
      t.string :id, null: false
      t.string :type, index: true, null: false
      t.string :label, index: true
      t.datetime :started_at, index: true
      t.datetime :ended_at, index: true
      t.string :state, index: true, null: false
      t.string :result, index: true, null: false
      t.decimal :progress, index: true, precision: 5, scale: 4
      t.string :external_id, index: true
    end
  end
end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
foreman-tasks-0.16.1 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.17.0 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.9 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.8 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.14.6 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.7 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.16.0 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.6 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.5 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.4 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.3 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.2 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.1 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.15.0 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.14.5 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.14.4 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.14.3 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.14.2 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.14.1 db/migrate/20131205204140_create_foreman_tasks.rb
foreman-tasks-0.11.3 db/migrate/20131205204140_create_foreman_tasks.rb