Sha256: c9886eb37be6d936fd323adc9192f563763707520070db4a06d3ab3348238e80

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

# Contributors need to be indexed on their name
class AddIndexToWorksCitedContributors < ActiveRecord::Migration[6.1]
  def change
    add_index :works_cited_contributors, %i[last first middle suffix handle], name: :index_citation_name,
                                                                              length: 100
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
works_cited-0.1.16 db/migrate/20210915160902_add_index_to_works_cited_contributors.rb
works_cited-0.1.15 db/migrate/20210915160902_add_index_to_works_cited_contributors.rb