projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
11517: Add indexes to help slow queries.
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20170419173031_add_created_by_job_task_index_to_job_tasks.rb
diff --git a/services/api/db/migrate/20170419173031_add_created_by_job_task_index_to_job_tasks.rb
b/services/api/db/migrate/20170419173031_add_created_by_job_task_index_to_job_tasks.rb
new file mode 100644
(file)
index 0000000..
225af45
--- /dev/null
+++ b/
services/api/db/migrate/20170419173031_add_created_by_job_task_index_to_job_tasks.rb
@@ -0,0
+1,5
@@
+class AddCreatedByJobTaskIndexToJobTasks < ActiveRecord::Migration
+ def change
+ add_index :job_tasks, :created_by_job_task_uuid
+ end
+end