debian-mirror-gitlab/db/migrate/20151026182941_add_project_path_index.rb

11 lines
181 B
Ruby
Raw Normal View History

# rubocop:disable all
2018-12-23 12:14:25 +05:30
class AddProjectPathIndex < ActiveRecord::Migration[4.2]
2015-11-26 14:37:03 +05:30
def up
add_index :projects, :path
end
def down
remove_index :projects, :path
end
end