diff options
Diffstat (limited to 'db/migrate/20200618105638_add_index_on_id_and_created_at_to_snippets.rb')
-rw-r--r-- | db/migrate/20200618105638_add_index_on_id_and_created_at_to_snippets.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20200618105638_add_index_on_id_and_created_at_to_snippets.rb b/db/migrate/20200618105638_add_index_on_id_and_created_at_to_snippets.rb deleted file mode 100644 index d9ef3b18e9b..00000000000 --- a/db/migrate/20200618105638_add_index_on_id_and_created_at_to_snippets.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class AddIndexOnIdAndCreatedAtToSnippets < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_concurrent_index :snippets, [:id, :created_at] - end - - def down - remove_concurrent_index :snippets, [:id, :created_at] - end -end |