Sha256: c7b02a5c0f9aa7c1a37ea17d8a2dc037647163c6333549c074fdafd8c1b2cb5f

Contents?: true

Size: 277 Bytes

Versions: 23

Compression:

Stored size: 277 Bytes

Contents

class AddIndexesToAccountUser < ActiveRecord::Migration
  def up
    add_index :account_users, :user_id
    add_index :account_users, :account_id
  end

  def down
    remove_index :account_users, column: :user_id
    remove_index :account_users, column: :account_id
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
iugusdk-1.0.11 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.10 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.9 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.8 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.7 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.6 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.5 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.4 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.3 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.2 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.1 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.32 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.31 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.30 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.29 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.28 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.27 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.26 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.25 db/migrate/20130716122614_add_indexes_to_account_user.rb
iugusdk-1.0.0.alpha.24 db/migrate/20130716122614_add_indexes_to_account_user.rb