summaryrefslogtreecommitdiff
path: root/db/migrate/20151026182941_add_project_path_index.rb
blob: bf0444450cd3ea8e1b7a5852b3322e170bb51ad8 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class AddProjectPathIndex < ActiveRecord::Migration[4.2]
  def up
    add_index :projects, :path
  end

  def down
    remove_index :projects, :path
  end
end