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-8.1.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.1.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.1.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.0.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.0.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-8.0.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-7.2.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-7.1.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-7.2.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-7.1.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-6.0.3 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-7.0.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-6.0.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-4.1.6 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-5.2.3 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-6.0.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-5.2.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-6.0.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-5.2.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-5.3.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb