summaryrefslogtreecommitdiff
path: root/doc/development/what_requires_downtime.md
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-08-29 16:10:49 -0700
committerStan Hu <stanhu@gmail.com>2019-08-30 13:15:34 -0700
commitd93b985df07ccf07541efef709edb8467e0f2955 (patch)
tree6951f100961a2c6b56dfe593daaaaa5a6675f5a4 /doc/development/what_requires_downtime.md
parentfa6f19d1f83b68f2bb729be889ab7d66adbbedb8 (diff)
downloadgitlab-ce-d93b985df07ccf07541efef709edb8467e0f2955.tar.gz
Use self.ignored_columns += instead of =
This is to accomodate prepended modules.
Diffstat (limited to 'doc/development/what_requires_downtime.md')
-rw-r--r--doc/development/what_requires_downtime.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/what_requires_downtime.md b/doc/development/what_requires_downtime.md
index b9d1b95a4d7..f4cee410066 100644
--- a/doc/development/what_requires_downtime.md
+++ b/doc/development/what_requires_downtime.md
@@ -50,7 +50,7 @@ places. This can be done by defining the columns to ignore. For example, to igno
```ruby
class User < ApplicationRecord
- self.ignored_columns = %i[updated_at]
+ self.ignored_columns += %i[updated_at]
end
```