class AttribAllowedValue < ApplicationRecord
  belongs_to :attrib_type

  validates :value, length: { maximum: 65_535 }
end

# == Schema Information
#
# Table name: attrib_allowed_values
#
#  id             :integer          not null, primary key
#  value          :text(65535)
#  attrib_type_id :integer          not null, indexed
#
# Indexes
#
#  attrib_type_id  (attrib_type_id)
#
# Foreign Keys
#
#  attrib_allowed_values_ibfk_1  (attrib_type_id => attrib_types.id)
#
