Sha256: 5e1b60f4e0e325063eb58b861016fd0869d6617b28f82471e1dd7de806832668

Contents?: true

Size: 304 Bytes

Versions: 13

Compression:

Stored size: 304 Bytes

Contents

class FixPagePathIndices < ActiveRecord::Migration[6.0]
  def change
    remove_index :maglev_page_paths, %i[canonical maglev_page_id locale value], unique: true, name: 'canonical_uniqueness'
    add_index :maglev_page_paths, %i[canonical maglev_page_id locale], name: 'scoped_canonical_speed'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
maglevcms-1.7.3 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.7.2 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.7.1 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.7.0 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.6.1 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.6.0 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.5.1 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.4.0 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.3.0 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.2.2 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.2.1 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.2.0 db/migrate/20211124101005_fix_page_path_indices.rb
maglevcms-1.1.7 db/migrate/20211124101005_fix_page_path_indices.rb