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

8 lines
177 B
Ruby
Raw Normal View History

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