Sha256: 63ba23937934a76b067775d8843f7cced4464838386f33e8b2d1d75585c19dd9
Contents?: true
Size: 561 Bytes
Versions: 6
Compression:
Stored size: 561 Bytes
Contents
class ItemCustomValue < ApplicationRecord belongs_to :item_custom_property belongs_to :item, optional: true validates :item_custom_property, uniqueness: {scope: :item_id} end # == Schema Information # # Table name: item_custom_values # # id :integer not null, primary key # item_custom_property_id :integer not null # item_id :integer not null # value :text # created_at :datetime not null # updated_at :datetime not null #
Version data entries
6 entries across 6 versions & 1 rubygems