Merge branch 'develop' into codex/connected-agent-bot-owner
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
# index_messages_on_conversation_id (conversation_id)
|
||||
# index_messages_on_created_at (created_at)
|
||||
# index_messages_on_inbox_id (inbox_id)
|
||||
# index_messages_on_sender_type_and_sender_id (sender_type,sender_id)
|
||||
# index_messages_on_sender_and_created (sender_type,sender_id,created_at)
|
||||
# index_messages_on_source_id (source_id)
|
||||
#
|
||||
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ class Team < ApplicationRecord
|
||||
uniqueness: { scope: :account_id }
|
||||
|
||||
before_validation do
|
||||
self.name = name.downcase if attribute_present?('name')
|
||||
self.name = name.gsub(/[[:cntrl:]]/, '').strip.downcase if attribute_present?('name')
|
||||
end
|
||||
|
||||
# Adds multiple members to the team
|
||||
|
||||
Reference in New Issue
Block a user