feat: allow users to set an icon or emoji for teams (#14767)

This commit is contained in:
Sivin Varghese
2026-06-23 20:53:31 +05:30
committed by GitHub
parent e785620921
commit e8edc9ebf5
11 changed files with 139 additions and 17 deletions

View File

@@ -5,6 +5,8 @@
# id :bigint not null, primary key
# allow_auto_assign :boolean default(TRUE)
# description :text
# icon :string default("")
# icon_color :string default("")
# name :string not null
# created_at :datetime not null
# updated_at :datetime not null
@@ -62,7 +64,9 @@ class Team < ApplicationRecord
def push_event_data
{
id: id,
name: name
name: name,
icon: icon,
icon_color: icon_color
}
end
end