Commit 2f7125e6 authored by Sean Arnold's avatar Sean Arnold

Add with_lock_retires to issue_type add

parent 186810bc
......@@ -4,7 +4,9 @@ class AddIssueTypeToIssues < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
# Set default to issue type
add_column :issues, :issue_type, :integer, limit: 2, default: 0
with_lock_retries do
# Set default to issue type
add_column :issues, :issue_type, :integer, limit: 2, default: 0
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