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.3.0.pre4 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.3.0.pre3 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.3.0.pre2 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.3.0.pre1 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.beta.1 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.alpha.2 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.alpha.1 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.27 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.26 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.24 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.23 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.21 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.20 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.19 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.18 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.17 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.16 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.15 db/migrate/20130325190110_add_indexes_to_actions.rb
artfully_ose-1.2.0.pre.12 db/migrate/20130325190110_add_indexes_to_actions.rb