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