diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-04 00:12:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-04 00:12:13 +0300 |
commit | 71c3596b1dfda5dca5d25357fe92f442647a8f5b (patch) | |
tree | 1706b54eecd7263b0ebce87e6f0ee72fb7df6a95 /app/models/chat_name.rb | |
parent | 3413ab248287b19b1d2cd1f78d957096546e8c37 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/chat_name.rb')
-rw-r--r-- | app/models/chat_name.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/chat_name.rb b/app/models/chat_name.rb index 9bd618c1008..cda19273f52 100644 --- a/app/models/chat_name.rb +++ b/app/models/chat_name.rb @@ -3,7 +3,9 @@ class ChatName < ApplicationRecord LAST_USED_AT_INTERVAL = 1.hour - belongs_to :integration + include IgnorableColumns + ignore_column :integration_id, remove_with: '16.0', remove_after: '2023-04-22' + belongs_to :user validates :user, presence: true |