Sha256: 4908e5516d3df84fa9fc2295e84a5cb61ae4ddc77af6e1d5d01013d9b4332a1c

Contents?: true

Size: 539 Bytes

Versions: 66

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

class AddMissingIndexes < ActiveRecord::Migration[5.2]
  def change
    add_index :decidim_follows, [:decidim_followable_id, :decidim_followable_type], name: "index_follows_followable_id_and_type"
    add_index :decidim_user_group_memberships, [:decidim_user_group_id, :decidim_user_id], name: "index_user_group_memberships_group_id_user_id"
    add_index :decidim_users, [:id, :type]
    add_index :decidim_users, [:invited_by_id, :invited_by_type]
    add_index :versions, [:item_id, :item_type]
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
decidim-core-0.29.1 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.28.4 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.27.9 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.29.0 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.28.3 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.27.8 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.29.0.rc4 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.29.0.rc3 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.29.0.rc2 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.29.0.rc1 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.28.2 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.27.7 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.28.1 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.27.6 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.26.10 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.26.9 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.28.0 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.27.5 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.28.0.rc5 db/migrate/20190412105836_add_missing_indexes.rb
decidim-core-0.28.0.rc4 db/migrate/20190412105836_add_missing_indexes.rb