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.16.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.17.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.9 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.8 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.14.6 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.7 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.16.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.6 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.5 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.4 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.3 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.15.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.14.5 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.14.4 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.14.3 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.14.2 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.14.1 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb
foreman-tasks-0.14.0 db/migrate/20180207150921_add_remote_tasks.foreman_tasks.rb