summaryrefslogtreecommitdiff
path: root/db/migrate/20200306170531_add_index_on_author_id_and_created_at_to_todos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200306170531_add_index_on_author_id_and_created_at_to_todos.rb')
-rw-r--r--db/migrate/20200306170531_add_index_on_author_id_and_created_at_to_todos.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/db/migrate/20200306170531_add_index_on_author_id_and_created_at_to_todos.rb b/db/migrate/20200306170531_add_index_on_author_id_and_created_at_to_todos.rb
deleted file mode 100644
index d0d31ca7c52..00000000000
--- a/db/migrate/20200306170531_add_index_on_author_id_and_created_at_to_todos.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-class AddIndexOnAuthorIdAndCreatedAtToTodos < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :todos, [:author_id, :created_at]
- end
-
- def down
- remove_concurrent_index :todos, [:author_id, :created_at]
- end
-end