Commit 8f7b2fdf authored by Adam Hegyi's avatar Adam Hegyi

Merge branch 'docs-aa-enable-lock-retries-change-example' into 'master'

Enable lock retries with change example

See merge request gitlab-org/gitlab!74698
parents 431bbba6 93ada7bf
......@@ -313,12 +313,8 @@ A better strategy is to split the migration, so that we only need to acquire one
```ruby
enable_lock_retries!
def up
remove_column :users, :full_name
end
def down
add_column :users, :full_name, :string
def change
remove_column :users, :full_name, :string
end
```
......
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