gitlab-org--gitlab-foss/db/migrate/20151026182941_add_project_...

10 lines
154 B
Ruby

class AddProjectPathIndex < ActiveRecord::Migration
def up
add_index :projects, :path
end
def down
remove_index :projects, :path
end
end