gitlab-org--gitlab-foss/db/migrate/20150916145038_add_index_fo...

6 lines
144 B
Ruby

class AddIndexForCommittedAtAndId < ActiveRecord::Migration
def change
add_index :ci_commits, [:project_id, :committed_at, :id]
end
end