Sha256: 7f2d1ed250f2fdbfbc77aa5318bc3dc18797ae16314b2f2f6394940405a4f5b5
Contents?: true
Size: 730 Bytes
Versions: 5
Compression:
Stored size: 730 Bytes
Contents
# frozen_string_literal: true class AddMissingIndexes < ActiveRecord::Migration[4.2] set_role "blog_content" def change add_index :feedback, %i[id type] add_index :feedback, :user_id add_index :sidebars, %i[id type] add_index :contents, :user_id add_index :contents, %i[id type] add_index :articles_tags, :tag_id add_index :articles_tags, :article_id add_index :profiles_rights, :profile_id add_index :users, :profile_id add_index :users, :text_filter_id add_index :users, :resource_id add_index :triggers, %i[pending_item_id pending_item_type] add_index :redirections, :content_id add_index :redirections, :redirect_id add_index :resources, :article_id end end
Version data entries
5 entries across 5 versions & 1 rubygems