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