Sha256: 776bc1080c4d46adcdac01776751a4be75b4c0e9001c4ad1a5221de1ded549c6
Contents?: true
Size: 1.11 KB
Versions: 9
Compression:
Stored size: 1.11 KB
Contents
# This migration comes from spree (originally 20150317174308) class RemoveDuplicatedIndexesFromMultiColumns < ActiveRecord::Migration[4.2] def change remove_index :spree_adjustments, name: "index_adjustments_on_order_id" remove_index :spree_option_types_prototypes, :prototype_id add_index :spree_option_types_prototypes, :option_type_id remove_index :spree_option_values_variants, name: 'index_option_values_variants_on_option_value_and_variant' remove_index :spree_option_values_variants, :variant_id add_index :spree_option_values_variants, :option_value_id remove_index :spree_orders, :user_id remove_index :spree_orders_promotions, [:order_id, :promotion_id] add_index :spree_orders_promotions, :order_id remove_index :spree_products_promotion_rules, name: "index_products_promotion_rules_on_promotion_rule_id" remove_index :spree_promotion_rules_users, name: "index_promotion_rules_users_on_user_id" remove_index :spree_properties_prototypes, :prototype_id remove_index :spree_stock_items, :stock_location_id remove_index :spree_taxons_prototypes, :prototype_id end end
Version data entries
9 entries across 9 versions & 2 rubygems