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