Sha256: d634b0f88143df434271ed4076ab5492e03f2a1634b1e8d2b5463f492dbc0acd

Contents?: true

Size: 277 Bytes

Versions: 35

Compression:

Stored size: 277 Bytes

Contents

class AddIndexesToActions < ActiveRecord::Migration
  def change
    add_index :actions, :organization_id
    add_index :actions, :person_id
    add_index :actions, :creator_id
    add_index :actions, :import_id
    add_index :actions, [:organization_id, :person_id]
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.11 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.10 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.9 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.8 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.7 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.6 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.5 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.4 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.3 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.2 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.1 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.1.0 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.1.0.rc2 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.1.0.rc1 db/migrate/20130325190110_add_indexes_to_actions.rb