Commit 44ec4002 authored by James Lopez's avatar James Lopez

fix project authorizations migration issue

parent 0bd4c17e
...@@ -6,7 +6,9 @@ class AddIndexToProjectAuthorizations < ActiveRecord::Migration ...@@ -6,7 +6,9 @@ class AddIndexToProjectAuthorizations < ActiveRecord::Migration
disable_ddl_transaction! disable_ddl_transaction!
def up def up
add_concurrent_index(:project_authorizations, :project_id) unless index_exists?(:project_authorizations, :project_id)
add_concurrent_index(:project_authorizations, :project_id)
end
end end
def down def down
......
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