diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-09-20 03:37:04 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-09-20 04:39:27 -0500 |
commit | 69473c4fbec7775cae2badfeb16990aa0e9e85a4 (patch) | |
tree | 9929bde90cc38cf8ab3398faf29fd2c865f5f26c /app/models/concerns | |
parent | d95c3cb550bbbc44c22bce5ef758f0c2d502bbeb (diff) |
[Feature] Community-managed custom emoji
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/account_associations.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/concerns/account_associations.rb b/app/models/concerns/account_associations.rb index a8b024346..71947fc22 100644 --- a/app/models/concerns/account_associations.rb +++ b/app/models/concerns/account_associations.rb @@ -78,5 +78,8 @@ module AccountAssociations # Collection items has_many :collection_items, inverse_of: :account, dependent: :destroy + + # Custom emojis + has_many :custom_emojis, inverse_of: :account, dependent: :nullify end end |