debian-mirror-gitlab/db/migrate/20151026182941_add_project_path_index.rb
2019-01-03 12:48:30 +05:30

10 lines
176 B
Ruby

# rubocop:disable all
class AddProjectPathIndex < ActiveRecord::Migration
def up
add_index :projects, :path
end
def down
remove_index :projects, :path
end
end