Commit 1342da95 authored by Peter Leitzen's avatar Peter Leitzen

Emphasize that we don't use `support_bot` column

It's not really required since `ActiveRecord::Enum` overrides
`#support_bot?` when we define `enum :bot_type { support_bot: 1 }`.

But let's make sure that we don't use this column anymore.
parent 9f1088dc
......@@ -17,6 +17,8 @@ module EE
prepended do
EMAIL_OPT_IN_SOURCE_ID_GITLAB_COM = 1
ignore_column :support_bot
# We aren't using the `auditor?` method for the `if` condition here
# because `auditor?` returns `false` when the `auditor` column is `true`
# and the auditor add-on absent. We want to run this validation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment