Commit 93ada7bf authored by Alper Akgun's avatar Alper Akgun

Enable lock retries with change example

parent f72f9462
...@@ -313,12 +313,8 @@ A better strategy is to split the migration, so that we only need to acquire one ...@@ -313,12 +313,8 @@ A better strategy is to split the migration, so that we only need to acquire one
```ruby ```ruby
enable_lock_retries! enable_lock_retries!
def up def change
remove_column :users, :full_name remove_column :users, :full_name, :string
end
def down
add_column :users, :full_name, :string
end 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