Sha256: f4818e9186041b7e0c0349bcf4225e2584eb0ab8af595c5fd96fcdd7a3d11eb6
Contents?: true
Size: 426 Bytes
Versions: 16
Compression:
Stored size: 426 Bytes
Contents
class AddInvocation< ActiveRecord::Migration 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
16 entries across 16 versions & 1 rubygems