blob: 41b93da0a8699036002deea43de92c2cb2bf2ad5 (
plain)
1
2
3
4
5
6
7
|
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
|