gitlab-org--gitlab-foss/db/migrate/20151114113410_add_index_fo...

8 lines
177 B
Ruby
Raw Normal View History

# rubocop:disable all
2015-10-12 14:42:14 +00:00
class AddIndexForLfsOidAndSize < ActiveRecord::Migration
def change
add_index :lfs_objects, :oid
add_index :lfs_objects, [:oid, :size]
end
end