Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
64020a91870f
Commit
c0a94f70
authored
Dec 04, 2018
by
Grzegorz Bizon
Browse files
Add a line before conditional in encrypt columns class
parent
ff4520a4dc4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/gitlab/background_migration/encrypt_columns.rb
View file @
64020a91
...
...
@@ -78,6 +78,7 @@ def encrypt!(instance, attributes)
if
instance
.
changed?
instance
.
save!
if
clear_migrated_values?
instance
.
update_columns
(
to_clear
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment