2016-06-16 23:09:34 +05:30
|
|
|
# rubocop:disable all
|
2015-11-26 14:37:03 +05:30
|
|
|
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
|