summaryrefslogtreecommitdiff
path: root/db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb')
-rw-r--r--db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb b/db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb
deleted file mode 100644
index 0bde4f69b3b..00000000000
--- a/db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# See http://doc.gitlab.com/ce/development/migration_style_guide.html
-# for more information on how to write migrations for GitLab.
-
-class AddIndexToNextRunAtAndActive < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :ci_trigger_schedules, [:active, :next_run_at]
- end
-
- def down
- remove_concurrent_index :ci_trigger_schedules, [:active, :next_run_at]
- end
-end