forgeplus/db/migrate/20201020083709_add_index_to...

6 lines
154 B
Ruby

class AddIndexToProjects < ActiveRecord::Migration[5.2]
def change
add_index :projects, :identifier, name: 'index_projects_on_identifier'
end
end