Sha256: d46f4e0111d17ab19eeb391f4d3c3595966f9428a2388710900a89a6a91a0875

Contents?: true

Size: 301 Bytes

Versions: 49

Compression:

Stored size: 301 Bytes

Contents

class AddIndexToLocalAuthorities < ActiveRecord::Migration
  # we'd like to be able to run this, but rails quotes the functional index.
  # add_index :local_authority_entries,
  #           ['local_authority_id', 'lower(label)'],
  #           name: 'index_local_authority_entries_on_lower_label'
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
qa-5.14.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.13.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.12.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.11.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.10.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.9.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.8.1 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.8.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.7.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.6.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.5.2 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-4.3.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-3.1.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-2.3.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.5.1 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.5.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.4.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.3.1 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.3.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb
qa-5.2.0 lib/generators/qa/local/tables/templates/add_index_to_local_authorities.rb