Sha256: bae0384dc4d3817b71b085992c2d9f66dc8f4412f20e44f6e76703216d217895

Contents?: true

Size: 224 Bytes

Versions: 10

Compression:

Stored size: 224 Bytes

Contents

class AssetManagerAddIndexToForeignKeys < ActiveRecord::Migration
  def change
    add_index :asset_manager_asset_associations, [:owner_id, :owner_type], name: 'index_asset_associations_on_owner_id_and_owner_type'
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
intesys_asset_manager-1.2.4 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.2.3 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.2.2 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.2.1 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.2.0 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.1.3 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.1.2 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.1.1 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.1.0 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb
intesys_asset_manager-1.0.0 db/migrate/20130417082644_asset_manager_add_index_to_foreign_keys.rb