Sha256: 6f01ca239176abb96de4791385b3427ed0cc49997bca6b776c85d82c2e74bc87
Contents?: true
Size: 1.04 KB
Versions: 19
Compression:
Stored size: 1.04 KB
Contents
class RemoveDuplicatedIndexesFromMultiColumns < ActiveRecord::Migration 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
19 entries across 19 versions & 1 rubygems