summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb b/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb
new file mode 100644
index 000000000..10c4dd97b
--- /dev/null
+++ b/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb
@@ -0,0 +1,9 @@
+class AddTrackerIdIndexToWorkflows < ActiveRecord::Migration
+ def self.up
+ add_index :workflows, :tracker_id
+ end
+
+ def self.down
+ remove_index :workflows, :tracker_id
+ end
+end