Sha256: 1b51c1443093f2c7b45634f670165d2c689a8b4404828b4fd89265db8d539237

Contents?: true

Size: 878 Bytes

Versions: 1

Compression:

Stored size: 878 Bytes

Contents

# create_table :product_feature_interactions do |t|
#   t.references :product_feature
#   t.references :interacted_product_feature
#   t.references :product_feature_interaction_type
#
#   t.timestamps
# 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'

class ProductFeatureInteraction < ActiveRecord::Base
  attr_protected :created_at, :updated_at

  belongs_to :product_feature_from, class_name: "ProductFeature"
  belongs_to :product_feature_to, class_name: "ProductFeature"
  belongs_to :product_feature_interaction_type

  is_json :custom_fields
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_products-4.2.0 app/models/product_feature_interaction.rb