Class: ProductFeatureInteraction
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ProductFeatureInteraction
- Defined in:
- app/models/product_feature_interaction.rb
Overview
create_table :product_feature_interactions do |t|
t.references :product_feature
t.references :interacted_product_feature
t.references :product_feature_interaction_type
t.
end
add_index :product_feature_interactions, :product_feature_id, :name => ‘prod_feature_int_feature_idx’ add_index :product_feature_interactions, :interacted_product_feature_id, :name => ‘prod_feature_int_interacted_feature_idx’ add_index :product_feature_interactions, :product_feature_interaction_type_id, :name => ‘prod_feature_int_interacted_feature_type_idx’