feat: Render contact custom attributes in contact/conversation sidebar (#3310)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
# index_custom_attribute_definitions_on_account_id (account_id)
|
||||
#
|
||||
class CustomAttributeDefinition < ApplicationRecord
|
||||
scope :with_attribute_model, ->(attribute_model) { attribute_model.presence && where(attribute_model: attribute_model) }
|
||||
validates :attribute_display_name, presence: true
|
||||
|
||||
validates :attribute_key,
|
||||
|
||||
Reference in New Issue
Block a user