Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20151114113410_add_index_for_lfs_oid_and_size.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d10f1f6e6054ab5f5561082fe95b0039695f8aa1 (plain)
1
2
3
4
5
6
class AddIndexForLfsOidAndSize < ActiveRecord::Migration
  def change
    add_index :lfs_objects, :oid
    add_index :lfs_objects, [:oid, :size]
  end
end