Commit 1fc7109e authored by manojmj's avatar manojmj

Use `with_lock_retries` in down migration

parent df8f23f7
...@@ -12,6 +12,8 @@ class AddMaxPersonalAccessTokenLifetimeToNamespaces < ActiveRecord::Migration[6. ...@@ -12,6 +12,8 @@ class AddMaxPersonalAccessTokenLifetimeToNamespaces < ActiveRecord::Migration[6.
end end
def down def down
remove_column :namespaces, :max_personal_access_token_lifetime with_lock_retries do
remove_column :namespaces, :max_personal_access_token_lifetime
end
end end
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