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-1.4.2 | db/migrate/20150708133242_add_invocation.rb |