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-10.0.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-10.0.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.2.3 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.2.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.2.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.2.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.1.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.0.4 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.1.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.0.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.0.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.3.3 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-9.0.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.2.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.1.4 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.3.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.3.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.1.3 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.3.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.2.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb