BigW Consortium Gitlab

20151116144118_add_unique_for_lfs_oid_index.rb 229 Bytes
# rubocop:disable all
class AddUniqueForLfsOidIndex < ActiveRecord::Migration
  def change
    remove_index :lfs_objects, :oid
    remove_index :lfs_objects, [:oid, :size]
    add_index :lfs_objects, :oid, unique: true
  end
end