debian-mirror-gitlab/db/migrate/20151114113410_add_index_for_lfs_oid_and_size.rb

8 lines
182 B
Ruby
Raw Normal View History

# rubocop:disable all
2019-02-15 15:39:39 +05:30
class AddIndexForLfsOidAndSize < ActiveRecord::Migration[4.2]
2015-11-26 14:37:03 +05:30
def change
add_index :lfs_objects, :oid
add_index :lfs_objects, [:oid, :size]
end
end