1 2 3 4 5 6
class AddIndexForLfsOidAndSize < ActiveRecord::Migration def change add_index :lfs_objects, :oid add_index :lfs_objects, [:oid, :size] end end