Commit ba58e078 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'harrisonbrock-master-patch-98393' into 'master'

The variable INDEX_NAME was missing.

See merge request gitlab-org/gitlab!49077
parents d84e91b5 8874171f
...@@ -462,8 +462,9 @@ class MyMigration < ActiveRecord::Migration[6.0] ...@@ -462,8 +462,9 @@ class MyMigration < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers include Gitlab::Database::MigrationHelpers
disable_ddl_transaction! disable_ddl_transaction!
INDEX_NAME = 'index_name'
def up def up
remove_concurrent_index :table_name, :column_name, name: :index_name remove_concurrent_index :table_name, :column_name, name: INDEX_NAME
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