Sha256: 3f35b159d5a170a6ae53b8c9c5da64313b8a4bf2f5c72716c073e5931459be06

Contents?: true

Size: 485 Bytes

Versions: 104

Compression:

Stored size: 485 Bytes

Contents

class AddRemoteTasks < ActiveRecord::Migration[5.0]
  def change
    create_table :foreman_tasks_remote_tasks do |t|
      t.string :execution_plan_id, :null => false
      t.integer :step_id, :null => false
      t.string :state, :null => false, :default => 'new'

      t.string :proxy_url, :null => false
      t.string :remote_task_id

      t.index [:execution_plan_id, :step_id], :name => 'index_foreman_tasks_plan_id_and_step_id'

      t.datetime :created_at
    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
foreman-tasks-0.13.4 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.13.3 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.13.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.13.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb