Sha256: 743417a42f4f8b993c57fa4e5f0132eeb676a605a4dfca8c4f7ad92f7d558e7f

Contents?: true

Size: 431 Bytes

Versions: 141

Compression:

Stored size: 431 Bytes

Contents

class AddInvocation< ActiveRecord::Migration[4.2]
  def change
    create_table :job_invocations do |t|
      t.references :targeting, :null => false
      t.string :job_name, :null => false, :limit => 255
    end

    add_index :job_invocations, [:targeting_id], :name => 'job_invocations_targeting_id'
    add_foreign_key :job_invocations, :targetings, :name => 'job_invocation_targeting_id', :column => 'targeting_id'
  end
end

Version data entries

141 entries across 141 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.2 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-14.1.1 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-14.1.0 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-14.0.2 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-14.0.1 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-13.2.6 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-14.0.0 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-13.2.5 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-13.2.4 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-13.2.3 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-13.2.2 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-12.0.7 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-13.2.1 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-13.2.0 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-10.1.3 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-13.0.0 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-12.0.5 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-12.0.4 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-12.0.1 db/migrate/20150708133242_add_invocation.rb
foreman_remote_execution-12.0.2 db/migrate/20150708133242_add_invocation.rb