projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch '9804-drop-activity-pane'
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20130207195855_add_index_on_timestamps.rb
1
class AddIndexOnTimestamps < ActiveRecord::Migration
2
def tables
3
%w{api_clients collections jobs job_steps links logs nodes pipeline_invocations pipelines projects specimens users}
4
end
5
6
def change
7
tables.each do |t|
8
add_index t.to_sym, :created_at
9
add_index t.to_sym, :modified_at
10
end
11
end
12
end