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: f2788117cc2d8b81b0f5574f47c77f8a1f5c65e8 (plain)
1
2
3
4
5
6
7
# rubocop:disable all
class AddIndexForLfsOidAndSize < ActiveRecord::Migration[4.2]
  def change
    add_index :lfs_objects, :oid
    add_index :lfs_objects, [:oid, :size]
  end
end